mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: emscripten: Enable assertions in debug builds
This commit is contained in:
parent
31de1a7d08
commit
50c8049c13
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
|
|||
message(STATUS "Sanitizers unavailable under Emscripten, disabling...")
|
||||
set(SANITIZERS_ARGS "")
|
||||
endif()
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g3")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g3 -s ASSERTIONS=1")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3 -s ASSERTIONS=1")
|
||||
else()
|
||||
if(MAEMO5 AND SANITIZERS_ARGS)
|
||||
message(STATUS "Sanitizers unavailable under Maemo, disabling...")
|
||||
|
|
Loading…
Reference in a new issue