mirror of
https://github.com/QuasarApp/CMake.git
synced 2025-05-10 00:19:36 +00:00
added buildType define
This commit is contained in:
parent
9da9019155
commit
a10b5073fe
@ -15,6 +15,10 @@ IF(NOT CMAKE_BUILD_TYPE)
|
||||
SET(CMAKE_BUILD_TYPE Release)
|
||||
ENDIF(NOT CMAKE_BUILD_TYPE)
|
||||
|
||||
IF(CMAKE_BUILD_TYPE MATCHES Release)
|
||||
add_definitions(-DRELEASE_BUILD)
|
||||
ENDIF()
|
||||
|
||||
SET(LIB_OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_BUILD_TYPE})
|
||||
|
||||
message("${} LIB_OUTPUT_DIR = ${LIB_OUTPUT_DIR}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user