From 81b7aa657110db03ceb861d8206fc6e805ede9c8 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Wed, 17 Dec 2008 20:18:40 +0000 Subject: 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 --- src/bin/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bin') 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) - -- cgit