mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 19:25:12 +00:00
Gn.cmake: Set is_debug depending on the IDE
This commit is contained in:
parent
daf8535a2d
commit
ea5d4643aa
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
set(_GEN_ARGS "use_gold=false target_cpu=\\\"${TARGET_CPU}\\\" target_os=\\\"${TARGET_OS}\\\"")
|
||||
|
||||
if (MSVC OR XCODE)
|
||||
set(_GEN_ARGS "${_GEN_ARGS} is_debug=false")
|
||||
set(_GEN_ARGS ${_GEN_ARGS} is_debug=$<$<CONFIG:Debug>:true>$<$<CONFIG:Release>:false>$<$<CONFIG:RelWithDebInfo>:false>$<$<CONFIG:MinSizeRel>:false>)
|
||||
elseif (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
set(_GEN_ARGS "${_GEN_ARGS} is_debug=true")
|
||||
else (MSVC OR XCODE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue