Compare commits
No commits in common. "82bad550e5229450a7ecddee8c23ece6b177e810" and "c8a65f28940e84511c018ea67479b95076d7c3a3" have entirely different histories.
82bad550e5
...
c8a65f2894
@ -9,11 +9,11 @@ if(NOT EMSCRIPTEN)
|
||||
endif()
|
||||
|
||||
# CMake actually has no default configuration and it's toolchain file dependent, set debug if not specified
|
||||
if(NOT DEFINED CMAKE_BUILD_TYPE)
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED TWN_SANITIZE AND CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
if(NOT TWN_SANITIZE AND CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
set(TWN_SANITIZE ON)
|
||||
endif()
|
||||
|
||||
@ -183,7 +183,7 @@ function(give_options_without_warnings target)
|
||||
$<$<CONFIG:Release>:${BUILD_FLAGS_RELEASE}>
|
||||
$<$<CONFIG:Debug>:${BUILD_FLAGS_DEBUG}>
|
||||
-Bsymbolic-functions
|
||||
$<$<BOOL:${LINUX}>:-Wl,--hash-style=gnu>)
|
||||
-Wl,--hash-style=gnu)
|
||||
|
||||
target_compile_definitions(${target} PRIVATE
|
||||
$<$<BOOL:${TWN_FEATURE_DYNLIB_GAME}>:TWN_FEATURE_DYNLIB_GAME>
|
||||
|
Loading…
Reference in New Issue
Block a user