mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +00:00
[cmake]
reduce debug spam (only tested on windows) svn path=/trunk/; revision=55950
This commit is contained in:
parent
9c50c787b4
commit
4d85ddbba8
1 changed files with 8 additions and 0 deletions
|
@ -16,6 +16,14 @@ endif()
|
|||
# Compiler Core
|
||||
add_compile_flags("-pipe -fms-extensions")
|
||||
|
||||
#bug
|
||||
#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)
|
||||
#workaround
|
||||
if (WIN32)
|
||||
STRING(REPLACE "/" "\\" REACTOS_SOURCE_DIR_NATIVE ${REACTOS_SOURCE_DIR})
|
||||
endif()
|
||||
add_compile_flags("-fdebug-prefix-map=${REACTOS_SOURCE_DIR_NATIVE}=ReactOS")
|
||||
|
||||
# Debugging
|
||||
if(SEPARATE_DBG)
|
||||
add_compile_flags("-gdwarf-2 -g2")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue