mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
cmake: build debugging symbols for debug builds
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34606 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f50127ffe8
commit
92d4d7c061
@ -181,7 +181,7 @@ if(NOT MSVC)
|
||||
set(LYX_CXX_FLAGS "${LYX_CXX_FLAGS} -D_GLIBCPP_CONCEPT_CHECKS")
|
||||
endif()
|
||||
set(CMAKE_CXX_FLAGS "${LYX_CXX_FLAGS} -fno-strict-aliasing " CACHE TYPE STRING FORCE)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${LYX_CXX_FLAGS} -fno-strict-aliasing -O -D_DEBUG" CACHE TYPE STRING FORCE)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${LYX_CXX_FLAGS} -fno-strict-aliasing -O0 -g -D_DEBUG" CACHE TYPE STRING FORCE)
|
||||
if(MINGW)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${LYX_CXX_FLAGS} -O2 -DNDEBUG" CACHE TYPE STRING FORCE)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user