mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
Add DEVELOPER options.
With this option you can work with the files in the build directory.
This commit is contained in:
parent
2982193ee9
commit
2f73648239
3 changed files with 8 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue