hedgewars/CMakeLists.txt
branchqmlfrontend
changeset 11699 83c40c1eb0e7
parent 11462 33a0e3a14ddc
parent 11646 42d7f5dbd8dc
child 12855 1b2b84315d27
equal deleted inserted replaced
11634:0af93f018701 11699:83c40c1eb0e7
     9 include(CheckLibraryExists)
     9 include(CheckLibraryExists)
    10 include(${CMAKE_MODULE_PATH}/utils.cmake)
    10 include(${CMAKE_MODULE_PATH}/utils.cmake)
    11 
    11 
    12 
    12 
    13 enable_language(Pascal)
    13 enable_language(Pascal)
    14 add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000")
    14 add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000 -B")
    15 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-gv")
    15 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-gv")
    16 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Xs")
    16 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Xs")
    17 if(UNIX)
    17 if(UNIX)
    18     include(TargetArch)
    18     include(TargetArch)
    19     target_architecture(CMAKE_TARGET_ARCHITECTURES)
    19     target_architecture(CMAKE_TARGET_ARCHITECTURES)