gameServer/CMakeLists.txt
changeset 10068 cbe06dc07332
parent 10056 cb9e07753802
child 10070 87fa6d14187f
equal deleted inserted replaced
10067:8df84ec62600 10068:cbe06dc07332
    26     Utils.hs
    26     Utils.hs
    27     Votes.hs
    27     Votes.hs
    28     hedgewars-server.hs
    28     hedgewars-server.hs
    29     )
    29     )
    30 
    30 
    31 set(hwserv_main ${CMAKE_SOURCE_DIR}/gameServer/hedgewars-server.hs)
    31 set(hwserv_main ${CMAKE_CURRENT_SOURCE_DIR}/hedgewars-server.hs)
    32 
    32 
    33 set(ghc_flags
    33 set(ghc_flags
    34     --make ${hwserv_main}
    34     --make ${hwserv_main}
    35     -i${CMAKE_CURRENT_SOURCE_DIR}
    35     -i ${CMAKE_CURRENT_SOURCE_DIR}
    36     -o ${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}
    36     -o ${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}
    37     -odir ${CMAKE_CURRENT_BINARY_DIR}
    37     -odir ${CMAKE_CURRENT_BINARY_DIR}
    38     -hidir ${CMAKE_CURRENT_BINARY_DIR}
    38     -hidir ${CMAKE_CURRENT_BINARY_DIR}
    39     ${haskell_flags})
    39     ${haskell_flags})
    40 
    40