CMakeLists.txt
changeset 8687 5b6ad1bd6ace
parent 8686 d303da4568b7
child 8688 88a6114a318c
equal deleted inserted replaced
8686:d303da4568b7 8687:5b6ad1bd6ace
    17 
    17 
    18 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules")
    18 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules")
    19 
    19 
    20 
    20 
    21 #possible cmake configuration
    21 #possible cmake configuration
    22 option(NOSERVER "Disable gameServer build [default: off]" OFF)
    22 option(NOSERVER "Disable gameServer build (off)]" OFF)
    23 option(NOPNG "Disable screenshoot compression [default: off]" OFF)
    23 option(NOPNG "Disable screenshoot compression (off)" OFF)
    24 option(NOVIDEOREC "Disable video recording [default: off]" OFF)
    24 option(NOVIDEOREC "Disable video recording (off)" OFF)
    25 
    25 
    26 #set this to ON when 2.1.0 becomes more widespread (and only for linux)
    26 #set this to ON when 2.1.0 becomes more widespread (and only for linux)
    27 option(SYSTEM_PHYSFS "Use system physfs [default:off]" OFF)
    27 option(SYSTEM_PHYSFS "Use system physfs (off)" OFF)
    28 
    28 
    29 option(BUILD_ENGINE_LIBRARY "Enable hwengine library [default: off]" OFF)
    29 option(BUILD_ENGINE_LIBRARY "Enable hwengine library (off)" OFF)
    30 option(ANDROID "Enable Android build [default: off]" OFF)
    30 option(ANDROID "Enable Android build (off)" OFF)
    31 option(MINIMAL_FLAGS "Respect system flags as much as possible [default: off]" OFF)
    31 
    32 if(APPLE)
    32 if(UNIX AND NOT APPLE)
       
    33     option(MINIMAL_FLAGS "Respect system flags as much as possible (off)" OFF)
       
    34 else()
    33     option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF)
    35     option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF)
    34 endif()
    36 endif()
    35 
    37 
    36 set(FPFLAGS "" CACHE STRING "Additional Freepascal flags")
    38 set(FPFLAGS "" CACHE STRING "Additional Freepascal flags")
    37 set(GHFLAGS "" CACHE STRING "Additional Haskell flags")
    39 set(GHFLAGS "" CACHE STRING "Additional Haskell flags")