Add DEVELOPER options.

With this option you can work with the files in the build directory.
This commit is contained in:
Andreas Schneider 2008-03-06 17:41:27 +01:00
parent 2982193ee9
commit 2f73648239
3 changed files with 8 additions and 2 deletions

View file

@ -10,4 +10,8 @@ set(VERSION ${APPLICATION_VERSION})
set(DATADIR ${DATA_INSTALL_DIR})
set(LIBDIR ${LIB_INSTALL_DIR})
set(PLUGINDIR ${PLUGIN_INSTALL_DIR})
set(SYSCONFDIR ${SYSCONF_INSTALL_DIR})
if (DEVELOPER)
set(SYSCONFDIR ${CMAKE_BINARY_DIR})
else (DEVELOPER)
set(SYSCONFDIR ${SYSCONF_INSTALL_DIR})
endif (DEVELOPER)

View file

@ -1,2 +1,3 @@
option(WITH_LOG4C "Build csync without log4c" ON)
option(UNIT_TESTING "Build with unit tests" OFF)
option(DEVELOPER "Build developer version" OFF)

View file

@ -4,6 +4,7 @@
#cmakedefine DATADIR "${SHARE_INSTALL_PREFIX}"
#cmakedefine LIBDIR "${LIB_INSTALL_DIR}"
#cmakedefine PLUGINDIR "${PLUGIN_INSTALL_DIR}"
#cmakedefine SYSCONFDIR "${SYSCONF_INSTALL_DIR}"
#cmakedefine SYSCONFDIR "${SYSCONFDIR}"
#cmakedefine WITH_LOG4C 1
#cmakedefine DEVELOPER 1