mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 21:14:08 +00:00
commented out additional memory checks as an option
This commit is contained in:
parent
1fb179f45c
commit
c4161aacee
@ -25,7 +25,10 @@ ExternalProject_Add(taglib
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wno-unused-result -Wno-deprecated-declarations")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3 -fsanitize=address,undefined")
|
||||
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
|
||||
# enable for additional memory checking with fsanitize
|
||||
# set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3 -fsanitize=address,undefined")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
|
||||
|
||||
if (${LINK_STATICALLY} MATCHES "true")
|
||||
|
Loading…
Reference in New Issue
Block a user