Sadie Powell
fc2df00cfc
Put modules into their own folder on Windows.
2024-01-09 13:57:32 +00:00
Sadie Powell
a4dddfd5f1
Mark format strings with the GNU printf attribute.
2024-01-08 13:11:50 +00:00
Sadie Powell
84c2f8d3fc
Skip checking for chgrp/chmod on Windows.
2023-12-07 15:59:19 +00:00
Sadie Powell
9d0a6ddc67
Merge branch '2.0' into 2.1.
2023-06-03 21:51:07 +01:00
Adam
fbf3b34474
add gettext to conan deps
2023-06-02 23:01:27 -04:00
Adam
07babdbd77
use Conan for extra's dependencies on Windows
...
conan install src\win32\conanfile.txt --build=missing
cmake -B build .
cmake --build build --config Release --target PACKAGE
2023-06-02 19:08:55 -04:00
Adam
24a2c51003
CMakeLists.txt: remove -fno-delete-null-pointer-checks
2023-05-28 21:26:03 -04:00
Sadie Powell
d210cd2695
Modernize finding system tools and remove checks for unused tools.
2023-03-13 13:52:56 +00:00
Sadie Powell
9d92de1157
Import InspIRCd's vendoring tool and use it to vendor crypt_blowfish.
2022-10-22 20:08:30 +01:00
Sadie Powell
83bf5ba255
Remove checks for obsolete Windows SDK versions.
...
We can't build against these anyway now as they're too old.
2022-01-13 03:22:12 +00:00
Sadie Powell
2881ba112b
Clean up the predefined variables on Windows.
...
- Use _MSC_VER for detecting MSVC instead of a custom define.
- Remove MINGW as you can use __MINGW32__ to detect this.
- Stop defining _WIN32 as this will always be defined on Windows.
2022-01-13 02:35:23 +00:00
Sadie Powell
33b42ce86e
Use the default CMake modules for finding gettext instead of our own.
2022-01-12 23:05:25 +00:00
Sadie Powell
9befb13ea4
Remove various entries from sysconf which are never actually used.
2022-01-04 15:05:33 +00:00
Sadie Powell
db6b2225b1
Use GNU visibility attributes when on non-Windows.
...
This reduces binary sizes by several megabytes on my system.
2022-01-04 00:39:05 +00:00
Sadie Powell
c6c9d9591c
Remove some obsolete header and function checks.
2022-01-04 00:39:05 +00:00
Sadie Powell
c1f6a79c72
Export a compilation database for debug builds.
2022-01-04 00:39:05 +00:00
Sadie Powell
eb81f22a5b
Modernize CXXFLAGS on Unix and enable -Werror on CI.
...
Also clear up warnings that this exposed.
2022-01-04 00:39:05 +00:00
Sadie Powell
d76d747196
Require C++17 to build Anope.
2022-01-03 19:02:44 +00:00
Sadie Powell
aee1e53cb3
Remove support for precompiled headers.
...
This might have been useful two decades ago but on recent hardware
this just makes builds take longer than without them.
2022-01-03 16:27:15 +00:00
Sadie Powell
754c82d047
Remove undefined behaviour around checking if this is null.
2021-11-30 11:04:19 +00:00
Sadie Powell
17fa704278
CMake warnings CMP0003 and CMP0007 are not necessary.
2021-11-30 10:11:17 +00:00
Sadie Powell
b9ccd4bb0b
Fix cmake deprecation warning CMP0026.
2021-11-30 10:03:10 +00:00
Sadie Powell
c21f6eb5a3
Rip out compatibility code for now-unsupported CMake versions.
2021-04-27 19:20:36 +01:00
Sadie Powell
e2aeab970b
Remove the repeated conditions in cmake endif/else statements.
2021-04-27 17:49:21 +01:00
Sadie Powell
ef4fd869ae
Bump minimum CMake version to 3.8.
...
This is the minimum version that supports CMAKE_CXX_STANDARD=17.
2021-04-27 17:48:28 +01:00
Sadie Powell
f430522b41
Rename things from services to anope.
2020-09-28 15:28:27 +01:00
Sadie Powell
907aa60380
All modern platforms support stdint so remove pstdint.
2020-09-28 15:28:26 +01:00
Robby
b279863acb
Update most URLs to use HTTPS if available, and fix some dead ones too.
2018-11-10 15:15:05 +01:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Adam
9f9371531d
Fix making directories from the Windows installer
2016-07-23 15:22:54 -04:00
Adam
7cf4245359
Enable -fno-delete-null-pointer-checks on GCC 6
2016-06-22 20:20:28 -04:00
Dominic Hargreaves
fab07d6b75
Optionally strip variable build date from compiled program
...
To aid build reproducibility, don't include the build date/time if
-DREPRODUCIBLE_BUILD is defined.
Based on the patch provided by Alexis Bienvenüe in the Debian report.
Bug-Debian: https://bugs.debian.org/820152
Patch-Name: reproducible_datetime.diff
2016-04-21 23:08:12 +01:00
Adam
907e192aab
Merge pull request #126 from SaberUK/2.0+typos
...
Fix a ton of typos.
2015-09-06 16:11:50 -04:00
Adam
d6d0c883b0
Merge pull request #128 from SaberUK/2.0+destdir
...
Fix support for passing relative install paths to CMake.
2015-09-06 16:09:29 -04:00
Peter Powell
cd9a2af65d
Fix support for passing relative install paths to CMake.
2015-07-15 00:28:59 +01:00
Peter Powell
2a6ad3d9fc
Refuse to configure with old compilers that can't build Anope.
2015-07-13 19:26:02 -04:00
Adam
38cbff4156
Fix cmake for 2.4 once again
2015-07-13 19:25:37 -04:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Dominic Hargreaves
cc616a7146
Allow PROGRAM_NAME to be set during configuration
2015-07-01 20:10:15 -04:00
Dominic Hargreaves
4cbdf9a73b
Support DESTDIR
...
If DESTDIR is set it should be prepended to CMAKE_INSTALL_PREFIX. See
<http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_INSTALL_PREFIX.html >
2015-07-01 20:08:51 -04:00
Peter Powell
2f9eabdb72
Remove support for run-cc.
...
This tool is not useful anymore. It just slows the build down.
2015-05-17 21:27:09 +01:00
Peter Powell
0f1936f63d
Fix matching the Apple Clang variant on CMake 3.0+
2015-04-04 03:28:46 +01:00
Peter Powell
5baa6247a9
Don't overwrite CMAKE_INSTALL_PREFIX if it has already been set.
2015-04-02 01:43:05 +01:00
Peter Powell
82f5d1d61d
Remove an old Autotools limitation.
...
This is not needed anymore as support for Autotools was removed.
2015-04-02 01:38:31 +01:00
Adam
e7c3090a70
Fix new version stuff with empty version extra
2015-03-22 14:38:29 -04:00
Adam
4266d17e8c
Update cmake version parsing code to deal with recent build version changes
...
Update Config.cs to no longer hardcode VS generators, it seems no longer necessary.
Fix new version system, cannot return C++ types from extern C functions
2015-03-12 11:20:18 -04:00
Adam
c46ec39e50
Only disable CMP0026 if it exists
2014-12-28 20:01:11 -05:00
Adam
2ad697898f
Disable CMP0026 warnings on cmake 3
2014-12-19 18:55:50 -05:00
Adam
f8308841a6
Package dlls in src/win32 on Windows
2014-02-24 00:30:47 -05:00
Adam
53038d83bf
Wipe services's module dir prior to make install
2013-07-07 23:13:16 -04:00