mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user