summaryrefslogtreecommitdiff
path: root/Anope.cmake
AgeCommit message (Collapse)Author
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-06-29Possible fix for issue with RequiredLibraries comment check in CMake generation.cyberbotx
Also include extra question in Config to ask for extra arguments to the build tool used. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2345 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-25Fix problem with CMake under Windows, spotted by therock247uk on the forums, ↵cyberbotx
CMake now checks for the environment variable VCINSTALLDIR (only set in the Visual Studio command prompt) and also fixes the check for #ifndef. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2207 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-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