mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
fba51b096e
Since commit v2.8.12~437^2~2 (VS: Separate compiler and linker PDB files 2013-04-05) we no longer set /Fd with the PDB_NAME or PDB_OUTPUT_DIRECTORY properties. Those properties now exclusively handle linker PDB files. Since STATIC libraries do not link their compiler PDB file becomes more important. Add new target properties "COMPILE_PDB_NAME[_<CONFIG>]" and "COMPILE_PDB_OUTPUT_DIRECTORY[_<CONFIG>]" to specify the compiler PDB file location and pass the value to the MSVC /Fd option.
16 lines
652 B
ReStructuredText
16 lines
652 B
ReStructuredText
PDB_OUTPUT_DIRECTORY_<CONFIG>
|
|
-----------------------------
|
|
|
|
Per-configuration output directory for the MS debug symbol ``.pdb`` file
|
|
generated by the linker for an executable or shared library target.
|
|
|
|
This is a per-configuration version of :prop_tgt:`PDB_OUTPUT_DIRECTORY`,
|
|
but multi-configuration generators (VS, Xcode) do NOT append a
|
|
per-configuration subdirectory to the specified directory. This
|
|
property is initialized by the value of the
|
|
:variable:`CMAKE_PDB_OUTPUT_DIRECTORY_<CONFIG>` variable if it is
|
|
set when a target is created.
|
|
|
|
.. |COMPILE_PDB_XXX| replace:: :prop_tgt:`COMPILE_PDB_OUTPUT_DIRECTORY_<CONFIG>`
|
|
.. include:: PDB_NOTE.txt
|