mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 20:18:22 +00:00
[CMAKE] Do not add any extension to separate debug symbol files (#1000)
There is no possibility for GDB to recognize them otherwise
This commit is contained in:
parent
e39863bdf6
commit
5c61063d25
1 changed files with 2 additions and 1 deletions
|
@ -190,9 +190,10 @@ if(SEPARATE_DBG)
|
|||
message(STATUS "Building separate debug symbols")
|
||||
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/symbols)
|
||||
if(CMAKE_GENERATOR STREQUAL "Ninja")
|
||||
set(CMAKE_DEBUG_SYMBOL_SUFFIX "")
|
||||
set(SYMBOL_FILE <TARGET_PDB>)
|
||||
else()
|
||||
set(SYMBOL_FILE <TARGET>.gdb)
|
||||
set(SYMBOL_FILE <TARGET>)
|
||||
endif()
|
||||
set(OBJCOPY ${CMAKE_OBJCOPY})
|
||||
set(CMAKE_C_LINK_EXECUTABLE
|
||||
|
|
Loading…
Reference in a new issue