summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2017-11-19CMakeLists.txt: remove old CMP0007 policyAdam
2017-02-12Clean up conditionals merged from the 2.0 branch.Peter Powell
2017-02-12Don't use the -pipe compiler flag.Peter Powell
On modern hardware this makes no difference to build times.
2017-02-12Cleanup CMake policy usage.Peter Powell
- CMP0003 has been the default since 2.6 so there is no need to enable this. - CMP0007 and CMP0026 always exist on 3.0+ so there is no need to check that they exists.
2016-10-29Add sqlite amalgamation and use if no system sqlite is found. Move sqlite ↵Adam
module out of extras.
2016-10-07Fix making directories from the Windows installerAdam
2016-10-02Optionally strip variable build date from compiled programDominic Hargreaves
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 (cherry picked from commit fab07d6b75d8ddd9735b4bc02a57bf23cda5330f)
2016-08-27Optionally allow using Boost.Locale for hashcompAdam
2015-12-30Remove now unused directories from include_directoriesAdam
2015-12-31Clean up CMake includes.Peter Powell
2015-12-31Change the version requirement for CMake from 2.8 to 3.0.Peter Powell
There is already code in the build system using 3.0 stuff.
2015-12-31Always use lower case for CMake function names.Peter Powell
2015-12-31Append the Anope CMake directory to CMAKE_MODULE_PATH.Peter Powell
2015-12-31Remove a leftover from when Anope was written in C.Peter Powell
2015-12-31Replace INSTDIR with CMAKE_INSTALL_PREFIX.Peter Powell
2015-12-31Clean up flags passed to the compiler.Peter Powell
- Clang builds on OS X should use libc++ instead of libstdc++. - GCC no longer needs no-long-long as we have C++11 support now. - GCC does not need -fno-leading-underscore.
2015-12-31Remove repeated expressions from CMake end*() and else() calls.Peter Powell
2015-12-14Install into "~/anope" by default instead of "~/services".Peter Powell
2015-12-14Use the binary name "anope" on all platforms.Peter Powell
2015-10-27Merge branch '2.0' into 2.1Adam
2015-09-06Merge pull request #126 from SaberUK/2.0+typosAdam
Fix a ton of typos.
2015-09-06Merge pull request #128 from SaberUK/2.0+destdirAdam
Fix support for passing relative install paths to CMake.
2015-07-15Fix support for passing relative install paths to CMake.Peter Powell
2015-07-13Refuse to configure with old compilers that can't build Anope.Peter Powell
2015-07-13Fix cmake for 2.4 once againAdam
2015-07-08Fix a ton of typos.Peter Powell
2015-07-01Allow PROGRAM_NAME to be set during configurationDominic Hargreaves
2015-07-01Support DESTDIRDominic Hargreaves
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-05-17Remove support for run-cc.Peter Powell
This tool is not useful anymore. It just slows the build down.
2015-04-04Fix matching the Apple Clang variant on CMake 3.0+Peter Powell
2015-04-02Don't overwrite CMAKE_INSTALL_PREFIX if it has already been set.Peter Powell
2015-04-02Remove an old Autotools limitation.Peter Powell
This is not needed anymore as support for Autotools was removed.
2015-03-22Fix new version stuff with empty version extraAdam
2015-03-12Update cmake version parsing code to deal with recent build version changesAdam
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
2014-12-28Only disable CMP0026 if it existsAdam
2014-12-19Disable CMP0026 warnings on cmake 3Adam
2014-04-01Require cmake 2.8 and C++11 supportAdam
2014-02-24Package dlls in src/win32 on WindowsAdam
2013-07-07Wipe services's module dir prior to make installAdam
2013-06-05fixed typo, though I doubt it affects anyone/anythinglethality
2013-04-06Remove the runtime module directory on non-windows because we no longer ↵Adam
overwrite modules on install without deleting them first
2012-12-25Clean up the logic in adding extra library directories, adding to LDFLAGS ↵Naram Qashat
isn't needed.
2012-12-25Fix linking libraries so their rpath is set correctly and isn't stripped on ↵Naram Qashat
install.
2012-12-13Optimize much of the database code and serialize code.Adam
2012-12-07Modified the Config scripts to ask the user explicitly for additional ↵Naram Qashat
include and library directories.
2012-11-07We no longer have to use the rungroup provided at build time, it is ↵Adam
specified in the config now
2012-10-29Make it so CMake doesn't complain if packing on a system using Visual Studio ↵Naram Qashat
Express.
2012-10-29Fix building under Mac OS X via Makefiles if not using an Xcode project. ↵Naram Qashat
This is a hack but CMake currently provides no other way to determine if the detected C++ compiler was identified as Clang.
2012-09-30Place runtime module binaries in data/runtime instead of lib/ incase of a ↵Adam
system wide install where lib/ is not writable
2012-09-22OK, so the FIND sub-command of string() in CMake was only added with 2.8.5, ↵Naram Qashat
change this to use the REGEX sub-commands instead. Also while I'm at it, make -pthread only get added when not on Mac OS X, it's auto-included there.