diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:18:40 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:18:40 +0000 |
| commit | 81b7aa657110db03ceb861d8206fc6e805ede9c8 (patch) | |
| tree | 8437f5ce65de3e27e5e02196711bd770aa86b7f5 /src/bin | |
| parent | fd45a3ad4219bffcf2f68fcc1dce3ff33b531b89 (diff) | |
Massive cleanup of the CMakeLists.txt files to finalize them.
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
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt index b587479c6..99a7e5136 100644 --- a/src/bin/CMakeLists.txt +++ b/src/bin/CMakeLists.txt @@ -1,9 +1,10 @@ +# If not on Windows, generate anoperc and install it along with mydbgen if(NOT WIN32) + configure_file(${Anope_SOURCE_DIR}/src/bin/anoperc.cmake ${Anope_BINARY_DIR}/src/bin/anoperc) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/anoperc - DESTINATION "${BINDIR}" + DESTINATION "${INSTDIR}" ) install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/mydbgen DESTINATION "${DATADIR}" ) endif(NOT WIN32) - |
