[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:
Jérôme Gardou 2018-10-30 17:23:42 +01:00 committed by GitHub
parent e39863bdf6
commit 5c61063d25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,9 +190,10 @@ if(SEPARATE_DBG)
message(STATUS "Building separate debug symbols") message(STATUS "Building separate debug symbols")
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/symbols) file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/symbols)
if(CMAKE_GENERATOR STREQUAL "Ninja") if(CMAKE_GENERATOR STREQUAL "Ninja")
set(CMAKE_DEBUG_SYMBOL_SUFFIX "")
set(SYMBOL_FILE <TARGET_PDB>) set(SYMBOL_FILE <TARGET_PDB>)
else() else()
set(SYMBOL_FILE <TARGET>.gdb) set(SYMBOL_FILE <TARGET>)
endif() endif()
set(OBJCOPY ${CMAKE_OBJCOPY}) set(OBJCOPY ${CMAKE_OBJCOPY})
set(CMAKE_C_LINK_EXECUTABLE set(CMAKE_C_LINK_EXECUTABLE