CMake: PDBs outside of Binaries
This commit is contained in:
1 file changed
+4
@@ -195,6 +195,10 @@ if (WIN32)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Output directory for PDB files. PDBs are only generated on Windows with MSVC.
|
||||
# We set a common directory for all PDBs to avoid littering the Binaries/ directory.
|
||||
set(CMAKE_PDB_OUTPUT_DIRECTORY $<1:${CMAKE_BINARY_DIR}/pdb>)
|
||||
|
||||
if(ENABLE_CCACHE)
|
||||
include(CCache)
|
||||
if(NOT CCACHE_BIN)
|
||||
|
||||
Reference in new issue
Block a user