summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2010-11-01Fixed make install because Changes.lang is deadAdam
2010-10-30Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.Adam
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext. Fixed m_mysql and m_ssl to work under Windows, made the Windows Config program remember the last used options, and fixed Windows release builds.
2010-09-26Partial fix for finding gettext with CMake, still doesn't fix the lack of ↵Naram Qashat
finding non-standard paths though.
2010-09-26Properly detect gettext and dont build langfiles on systems without itAdam
2010-09-26Changed the language system to use gettextAdam
2010-09-09Added an asynchronous DNS system and m_dnsbl, which checks clients against ↵Adam
DNS blacklists. Rewrote internal handling of IPs, we now properly support users using IPv6. Fixed a few problems with the UnrealIRCd protocol module.
2010-08-21Updated .gitignore and removed the rest of the old autotools systemAdam
2010-08-21Better check for eventfd.Naram Qashat
2010-08-15Rewrote the MySQL API to use threads. This acts similar to before, but is ↵Adam
faster. Removed db_mysql_execute for now.
2010-07-30Cleanup in modulemanager.cpp, make it so CMake only includes the ↵Naram Qashat
-fno-leading-underscore flag on a GNU compiler, changed the hash compare functions to use struct to appease clang, and made it so hashcomp.h uses tr1/unordered_map with g++ 4.x or up.
2010-07-27Added debug_cast which uses dynamic_cast on debug builds, and static_cast on ↵Adam
release builds
2010-07-15Moved some files and diretories around, made cmake skip files it knows it ↵Adam
can't compile because of missing dependices.
2010-06-25Changed the versioning system to use gitAdam
2010-06-18Removed empty.c, instead have cmake create a new empty file when it needs it ↵Adam
and deletes it later
2010-06-18Merged branch threadingengine with master - Added a threading engineAdam
2010-06-18Removed .svn from CMakes list of folders to ignore, it not longer existsAdam
2010-05-02Moved CODING, TODO, and Changes* to docs/. Removed unused empty file install-sh.Adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2926 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-20Correctly identify CMake 2.8.x as being CMake 2.6 or better.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2793 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-15Possible fix for header dependency calculation causing CMake to freeze due ↵cyberbotx
to recursive including, fixed by removing my code to do that and letting CMake figure this out on it's own. Seems to work here, but might need testing still. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2651 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-08Disable Visual Studio warning 4100 (unreferenced formal parameter) during ↵cyberbotx
Windows build, otherwise we get thousands of completely harmless warnings which slow down the build process because they all have to be displayed. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2541 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-09Remove events.h, should have been deleted in earlier patch to replace events ↵cyberbotx
system with the new one. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2315 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-25Added ability for CMake to build a module from a subdirectory of src/modules.cyberbotx
Added calculate_libraries() CMake macro to condense library checking in CMakeLists.txt in src/modules. Fixed slight problem with strip_string() macro call in root CMakeLists.txt. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2302 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-11Really corrected CMake version checking.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2156 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-11Fix the CMake generation to work with older versions of CMake 2.4.x, ↵cyberbotx
cleaning up some of the macros and also correcting the code to detect what version of CMake is in use. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2155 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02Force locale to C so messages from gcc don't get translated, thanks to ↵cyberbotx
DukePyrolator for spotting this. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2140 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02Added a strip_string function to Anope.cmake, cleaned up other parts of ↵cyberbotx
Anope.cmake, added better find function for #include lines, added functionality for CMake to auto-detect includes in non-standard locations. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2139 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-22Added Anope.cmake, moving all my CMake macros into it.cyberbotx
Fixed CMake error when CMake older than 2.4.8 is used, there is no 'touch' command in cmake -E, spotted by Adam. Fixed Config to auto-detect CMake and revert to configure if CMake isn't found. Fixed install.js on Windows to show errors in running CMake and detect if there were errors. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2125 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Preliminary support for a module source file (within src/modules) to include ↵cyberbotx
a comment saying it requires certain external libraries and having CMake search for the library automatically. Note: This sorta works for both *nix and Windows, probably *nix more-so than Windows, but this needs some cleaning up. It does work as is, though. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2118 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10Do not pack the build directory into the tarballs from now on, also fix ↵cyberbotx
subtle error in install.js for Windows when the last characters of the script's path is a backslash. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1972 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-26Move Anope's executable (anope.exe for Windows / services for *nix) to be ↵cyberbotx
installed to the bin subdirectory, primarily for the Windows package. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1938 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31Removed check for HAVE_VA_LIST_AS_ARRAY, it broke MemoServ.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1893 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Edits to CPack-related part of CMake to not include Autotools-built files ↵cyberbotx
from a dirty source tree. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1884 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Final modifications to Autotools build system to work alongside CMake build ↵cyberbotx
system. CMake build system will only allow out-of-source building now. Removed all old NMake Makefiles for Windows to focus on use of CMake on Windows (it's not as important to require the old system on Windows like it is on *nix). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1878 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Reverting my last 2 commits in an attempt to fix my own screwball mistake.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1873 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Merge branch 'cmake'cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1871 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26Better check for the backtrace function (actually look for the function, not ↵cyberbotx
the execinfo.h header) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1866 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26Minor CMake cleanup, moving include directories and defines to use ↵cyberbotx
include_directories and add_definitions instead. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1865 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-25Allow CMake to still check for the -pipe flag with CMake 2.4.3 or older, ↵cyberbotx
also small addition to install the MSVCRT library if needed. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1864 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23Some more Windows fixes, both in CMake and in the code itself. (I don't like ↵cyberbotx
the const casting for the latter, but it's only until we get rid of use of strchr) Added CPack setup to automate generation of source package for *nix and NSIS installer for Windows. Some other minor CMake fixes. Converted docs/README and docs/WIN32.txt from Unix linefeeds to DOS linefeeds so they show up right in Notepad under Windows. Added small fix for Visual Studio 2008, CMake doesn't detect the Express version correctly and it must be explicitly defined. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1861 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-21Some more CMake edits, this allows versions of CMake as early as 2.4.0 to ↵cyberbotx
work now. Also fixed an issue with adding the dl library to the linker flags, reported by Obi_Wan, thanks! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1857 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19Some more CMake fixes for 2.4.x (Apparently 2.4.x before 2.4.8 didn't have a ↵cyberbotx
FIND sub-command for the list() function) As a side-note, I'd also recommend trying (it's not required) to get CMake 2.6.x to use with Anope, the workarounds to get 2.6.x's functionality with 2.4.x are slow. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1849 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19Updated the CMakeLists.txt files to function under CMake 2.4.x (earliest ↵cyberbotx
version to work is 2.4.4 now). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1848 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Massive cleanup of the CMakeLists.txt files to finalize them.cyberbotx
Edited configuration scripts for *nix and Windows to use CMake as well as support both in-source and out-of-source builds. Changed directory structure for *nix to match Windows to remove some conditionals in both CMake and Anope itself. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1841 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Implemented dependency calculation within CMake, now header file ↵cyberbotx
dependencies are no longer hardcoded. Also a few minor changes to the CMakeLists.txt files. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1840 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Fixed issue with the MSVC++ build of Anope crashing on a DLL throwing an ↵cyberbotx
exception, thanks to w00t for pointing out the overloaded new/delete operators from InspIRCd. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1838 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17More CMake work, adding win32.rc generation and fixing some other problems.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1837 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17More CMake work, mostly to handle both *nix and Windows builds.cyberbotx
Also some tweaks to generation files (like version.sh) to take both input and output files as arguments, to handle CMake when it's used for an out-of-source build. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1836 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Implemented CMake build system to replace the old autoconf-based build system.cyberbotx
(Note: Although each Makefile was changed, they will be removed later as CMake reconstructs them.) Also fixed generation of language files and version.h to not rely on the current directory they are in. Edited Config to send parameters to cmake, but it is no longer a requirement. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1835 5417fbe8-f217-4b02-8779-1006273d7864