mirror of https://gitee.com/cxasm/notepad--.git
spark/env: Windows 标注,在生成的目标中区分 Debug(_d) 或 Release(_r)
This commit is contained in:
parent
248e3c1f04
commit
d0506e058d
|
@ -14,3 +14,9 @@ macro(spark_debug_message)
|
|||
message(${ARGN})
|
||||
endif(SPARK_DEBUG_MESSAGE)
|
||||
endmacro(spark_debug_message)
|
||||
|
||||
# Windows 的特别标注,生成的目标中区分 Debug(_d) 或 Release(_r)
|
||||
if(WIN32)
|
||||
set(CMAKE_DEBUG_POSTFIX "_d")
|
||||
set(CMAKE_RELEASE_POSTFIX "_r")
|
||||
endif(WIN32)
|
||||
|
|
Loading…
Reference in New Issue