equal
deleted
inserted
replaced
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) |