Commit Graph

39 Commits

Author SHA1 Message Date
Rainer Müller c79ce843f4 build: Reorder includes to avoid installed plugin header
When hexchat is already installed into a non-default prefix, a new build
could pick up ${prefix}/include/hexchat-plugin.h from the installed
version instead of the local header, as configuration variables such as
$(GLIB_CFLAGS) would point to -I${prefix}/include.

Reordering the includes and moving -I arguments to CPPFLAGS prevents
this, as it ensures the local directories are always searched first.

This was no problem when compiling for /usr or /usr/local as these
directories in the compiler search path are always searched last.

Closes #1822
2016-09-26 19:16:42 -04:00
Arnavion f7e3d3f32c Use VS 2015 2015-10-10 16:14:12 -07:00
Arnavion 9858784eb6 Better project files.
- Output directly to rel\ instead of to bin\ and then copying files over.
- Deduped Win32 vs x64 configs
- Moved some common properties to hexchat.props
- All build intermediates (except htm's intermediates) are no longer emitted in the source directory
2015-02-11 10:01:29 -08:00
TingPing 3f855f07f5 Use glib for allocations in all plugins
Continuation of 83032b1aa
2014-12-28 06:47:07 -05:00
TingPing aeb5d15871 More consistently include config.h 2014-12-17 18:21:10 -05:00
TingPing 0e4164ad0c configure: Improve various build flags
- Store openssl flags in own vars
- Share some common flags for plugins
- Fix building plugins on win32
- Store all glib flags in one var
- Don't link against every lib for each plugin
- Don't hardcode ldflags for sysinfo
2014-12-15 11:07:46 -05:00
Eustachy Kapusta b658fca4a7 Convert project files to vs2013 2013-09-15 15:07:46 -07:00
Eustachy Kapusta 715a520c0e Move optimization settings from all subsequent projects to hexchat.props 2013-07-24 20:56:36 +02:00
Christoph J. Thompson 77cad8e716 Don't hardcode "plugins" as the subdirectory for plugins in many
places.

	modified:   config-win32.h
	modified:   configure.ac
	modified:   plugins/checksum/Makefile.am
	modified:   plugins/doat/Makefile.am
	modified:   plugins/fishlim/Makefile.am
	modified:   plugins/perl/Makefile.am
	modified:   plugins/python/Makefile.am
	modified:   plugins/sysinfo/Makefile.am
	modified:   plugins/xdcc/Makefile.am
	modified:   src/common/plugin.c
	modified:   src/fe-text/fe-text.c
2013-04-28 16:42:48 +02:00
Arnavion 07bc467d03 win32: Moved PlatformToolset configuration to individual project files. It should be set before setting other properties or importing other props.
This fixes the broken GUI Platform Toolset indicator, as well as VS compilation itself if another version such as 2010 was also installed.
2013-04-25 21:03:03 -07:00
Berke Viktor 110a2625fe Remove another bunch of obsolete junk 2013-04-01 05:05:33 +02:00
Berke Viktor 82936df2af Some final rebranding 2012-10-30 10:42:37 +01:00
Berke Viktor e681eafa78 Rebranding for the rest of plugin* 2012-10-30 08:42:48 +01:00
Berke Viktor 45d4fa5801 Rebranding for XCHAT_EAT_* 2012-10-30 07:40:37 +01:00
Berke Viktor 91dd079add Rebranding for XCHAT_PRI_* 2012-10-30 07:18:25 +01:00
Berke Viktor fc98a6d79d Remove hexchat-plugin.h duplicate 2012-10-30 04:07:33 +01:00
Berke Viktor 1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor 01e8b50b4f EXTRA_DIST cleanup 2012-10-22 04:04:51 +02:00
Berke Viktor ddbce0b9fe Move warning level to property sheet 2012-10-21 05:57:00 +02:00
Berke Viktor 84c536e4ea Compatibility for Automake 1.12.4+ 2012-10-13 22:26:35 +02:00
Berke Viktor da46225034 Revert to VS2010 part4 2012-10-03 13:50:31 +02:00
Berke Viktor 1d7773f735 Use explicit project names, output filenames depend on them 2012-10-02 18:40:23 +02:00
Berke Viktor de70630cef Oops, wrong find'n'replace 2012-10-02 18:21:16 +02:00
Berke Viktor 567270d5a7 Remove hardcoding as much as possible 2012-10-02 18:15:49 +02:00
Berke Viktor ab2d0b736c Change platform toolset to Visual Studio 2012 2012-10-02 16:05:20 +02:00
Berke Viktor a57a7d3f88 Add XP (WDK) solution as a fallback option 2012-10-02 16:00:13 +02:00
Berke Viktor 0e3fbb01d7 Add _AMD64_ definition for x64 builds, make Visual Studio even happier 2012-07-21 14:59:25 +02:00
Berke Viktor 2ae76fcacf Add trailing backslashes to Output and Intermediate directories, make Visual Studio happy 2012-07-21 14:46:29 +02:00
Berke Viktor 2044a9568c Add make support for Do At on Unix 2012-07-17 19:47:19 +02:00
xhmikosr 1fae4ef09f get rid of *.user files and ignore them 2012-07-14 06:03:42 +03:00
Berke Viktor 3485b4fb94 Rename DLL files, rename X-SASL to SASL 2012-07-13 23:47:41 +02:00
Berke Viktor ea2c58c234 Rename files, delete old windows makefiles 2012-07-13 17:55:31 +02:00
Berke Viktor 534cd2802f Rebranding on the file level 2012-07-11 21:33:10 +02:00
Berke Viktor c1ed097b46 Add .user files and .gitignore 2012-06-15 22:48:18 +02:00
Berke Viktor ad59c4a586 Add x64 support to the VS solution 2012-06-15 22:36:29 +02:00
Berke Viktor 593efa703b LOTS of fixes to the VS solution 2012-06-15 21:37:48 +02:00
Berke Viktor bf37bd3755 Update Do At plugin (Khisanth) 2012-06-12 20:40:42 +02:00
Berke Viktor a673109c49 Add all plugins to solution except WMPA 2012-06-10 14:19:40 +02:00
Berke Viktor caa878bc93 add doat plugin 2011-11-22 17:58:00 +01:00