Commit Graph

89 Commits

Author SHA1 Message Date
Biswapriyo Nath
1de339dfbc meson: Fix exported functions in plugins
This adds DEF file names in meson. Without the DEF files, every
functions are exproted from plugins.
2022-01-21 15:54:49 -06:00
DjLegolas
939ec7a16e Updated Toolset to v142 2021-05-23 19:43:24 -05:00
Patrick Griffis
628100c19f build: Replace Autotools with Meson
Quick rundown of benefits:

- Much faster:
  - Autotools (with autogen): 22 seconds
  - Meson: 7 seconds
  - Meson (with ccache): 2 seconds

- Simpler:
  - ~1000 lines smaller
  - Single simple language

- Potentially better Windows (Visual Studio) support

What is not done:

- Complete Windows support
- OSX support (easy)

Closes #2013
Closes #1937
Closes #1803
2017-06-13 23:54:51 -04:00
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
Patrick Griffis
aab881fda2 Fix strict prototype warnings 2016-02-18 08:57:22 -05: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
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
TingPing
94568bc517 checksum: Use glib for io/checksum and misc fixes
- Fixes support for large files.
- Fixes filenames not being passed in the filename encoding.
- Drops openssl dependency.
- Code cleanup.
- Fix 'unknown command' warning.
2014-12-15 10:40:15 -05:00
TingPing
6487e1b391 osx: Silence openssl deprecated warnings 2014-01-29 12:16:36 -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
RichardHitt
4e0daf047e Correct almost all compiler warning issues 2013-01-19 12:33:16 -08:00
RichardHitt
e43bc2ccc2 Remove #include <malloc.h>, causes a #error in freebsd build 2013-01-16 15:42:28 -08:00
RichardHitt
bf673072e8 Merge branch 'master' into pull350 2013-01-10 02:14:02 -08:00
RichardHitt
6beef589e3 Make source cleah with cppcheck, except for mpc and sasl 2013-01-09 14:37:57 -08:00
RichardHitt
efdfa50f1e Fix Issue 350 in checksum.c by changing struct stat64 to struct stat 2013-01-09 00:15:08 -08:00
TingPing
45607703c2 update checksum help info 2012-11-26 06:49:28 -05:00
TingPing
7ac36d4d8d Use g_strdup 2012-11-20 05:00:39 -05:00
TingPing
991d3d5401 Fix checksum plugin when completed dir is set 2012-11-19 20:03:59 -05:00
Berke Viktor
b3f225a70d Comment out one more unused thing 2012-11-10 17:26:50 +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
e3be4a0e0a Eliminate some more plugin warnings 2012-10-26 13:38:13 +02: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
b63a4ced19 Fix Checksum compilation on Windows 2012-07-18 18:48:45 +02:00
Berke Viktor
1b0c07f8ea Checksum Unix support and configure.in cosmetics 2012-07-18 14:50:58 +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
f61726ba49 Remove the last remnants of XChat-WDK 2012-07-13 22:27:12 +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