diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-02-19 15:26:21 +0100 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-02-19 15:26:21 +0100 |
| commit | e0cbd179fe594687b237c0007e159757dabf6ea6 (patch) | |
| tree | 8349ef4642d4bc6314dc1fe84d761c88086aed40 /src/modules | |
| parent | 60eb2ab3883e6e121b48ea9ba27bb2fb8d785316 (diff) | |
Update cmake to use better default options: hash table:
option(WITH_SERVER "Build the server instead of client" ON)
option(WITH_AUDIO "Build with audio enabled" ON)
option(ENABLE_DEBUG "Build debug features" OFF)
option(WITH_NLS "Build the translations" ON)
option(Apple "Build some apple quirks. USE ONLY ON MAC!" OFF)
option(WITH_OPENGL "Use opengl as renderer instead of SW" ON)
option(BUNDLE "Use for generating binary. DEV ONLY" OFF)
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index a862914..26d6b5f 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -8,15 +8,15 @@ LINK_LIBRARIES ( ${CMAKE_DL_LIBS} ) ############################################################################### # SOURCE SPECIFICATION ############################################################################### -IF ( NOT Server ) +IF ( WITH_SERVER ) SET ( SRC_base_modules - ${WORKDIR}/client/interface.h ${WORKDIR}/client/image.h + ${WORKDIR}/server/publicServer.h ) -ELSE ( NOT Server ) +ELSE ( WITH_SERVER ) SET ( SRC_base_modules - ${WORKDIR}/server/publicServer.h + ${WORKDIR}/client/interface.h ${WORKDIR}/client/image.h ) -ENDIF ( NOT Server ) +ENDIF ( WITH_SERVER ) SET ( SRC_base_modules ${SRC_base_modules} ${WORKDIR}/base/main.h ${WORKDIR}/base/modules.h |