From: Manuel Nickschas Date: Sat, 21 Jun 2008 15:34:33 +0000 (+0200) Subject: Make STATIC an option; disable building of mono client by default X-Git-Tag: 0.3.0~357 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=830373184d79059e6cbd65f605ada3c52c93e5ce Make STATIC an option; disable building of mono client by default --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e5ffc94f..9baf21a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,8 +3,8 @@ # -DWANT_(CORE|QTCLIENT|MONO)=(ON|OFF) # : select binaries to build # -DQT=/path/to/qt : Choose a Qt4 installation to use instead of the system Qt4 -# -DSTATIC : Enable static building of Quassel. Use with care. -# -DSPUTDEV : Do not use. +# -DSTATIC=ON : Enable static building of Quassel. Use with care. +# -DSPUTDEV=ON : Do not use. # # NOTE: You need to remove CMakeCache.txt if you plan to change any of these values! @@ -24,11 +24,12 @@ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) # Various options and variables that can be set on the command line option(WANT_CORE "Build the core (server) binary" ON) option(WANT_QTCLIENT "Build the Qt4 GUI client binary" ON) -option(WANT_MONO "Build the monolithic (all-in-one) binary" ON) +option(WANT_MONO "Build the monolithic (all-in-one) binary" OFF) + +option(STATIC "Enable static building (might not be portable)" OFF) +option(SPUTDEV "Do not use!" OFF) -set(STATIC 0 CACHE BOOL "Enable static building (might not be portable)") set(QT "" CACHE STRING "Path to a Qt installation to use instead of the system Qt") -set(SPUTDEV CACHE STRING "Do not use!") if(STATIC) set(CMAKE_BUILD_TYPE Release)