CMakeLists.txt
branch0.9.20
changeset 9860 d419ff107e15
parent 9843 7918943c0ff1
child 9870 acf1ccf06b2d
equal deleted inserted replaced
9858:343d12172070 9860:d419ff107e15
    49 
    49 
    50 message(STATUS "Building ${HEDGEWARS_VERSION}-r${HEDGEWARS_REVISION} (${HEDGEWARS_HASH})")
    50 message(STATUS "Building ${HEDGEWARS_VERSION}-r${HEDGEWARS_REVISION} (${HEDGEWARS_HASH})")
    51 
    51 
    52 #general utilities
    52 #general utilities
    53 include(${CMAKE_MODULE_PATH}/utils.cmake)
    53 include(${CMAKE_MODULE_PATH}/utils.cmake)
       
    54 #paths initialization
       
    55 include(${CMAKE_MODULE_PATH}/paths.cmake)
    54 #platform specific init code
    56 #platform specific init code
    55 include(${CMAKE_MODULE_PATH}/platform.cmake)
    57 include(${CMAKE_MODULE_PATH}/platform.cmake)
    56 include(${CMAKE_MODULE_PATH}/paths.cmake)
       
    57 
    58 
    58 
    59 
    59 #when build type is not specified, assume Debug/Release according to build version information
    60 #when build type is not specified, assume Debug/Release according to build version information
    60 if (CMAKE_BUILD_TYPE)
    61 if (CMAKE_BUILD_TYPE)
    61     string (TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
    62     string (TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)