[CMAKE] Fix symbol directory for non-MSVC builds

This commit is contained in:
Jérôme Gardou 2020-03-20 10:30:33 +00:00
parent de369ce26b
commit 5a8901130a
1 changed files with 5 additions and 1 deletions

View File

@ -249,7 +249,11 @@ else()
endif()
# For MSVC builds, this puts all debug symbols file in the same directory.
set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/msvc_pdb")
if (MSVC)
set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/msvc_pdb")
elseif(SEPARATE_DBG)
set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/symbols")
endif()
#begin with boot so reactos_cab target is defined before all other modules
add_subdirectory(boot)