mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -05:00
1d701491a2
The property settings set things up once, but nothing ensures that post-reuse hookup that any property changes propagate. Instead, when computing PDB information, if PCH reuse is enabled, just always use its values. Also drop enforcement at generate time of property value consistency as it is now ignored when PCH reuse is in effect. Additionally, if a target is PCH-reused, generate a PDB output directory for it. The `PchReuseFromIgnoreOwnProps` test failed previously because the post-reuse link update of the consuming `PDB` properties are no longer considered. The `PchReuseFromUseUpdatedProps` failed because the post-reuse link did not update the copy of the properties added to consuming reuse target properties.
29 lines
959 B
ReStructuredText
29 lines
959 B
ReStructuredText
COMPILE_PDB_OUTPUT_DIRECTORY
|
|
----------------------------
|
|
|
|
.. versionadded:: 3.1
|
|
|
|
Output directory for the MS debug symbol ``.pdb`` file
|
|
generated by the compiler while building source files.
|
|
|
|
This property specifies the directory into which the MS debug symbols
|
|
will be placed by the compiler.
|
|
|
|
.. versionadded:: 3.12
|
|
|
|
The property value may use
|
|
:manual:`generator expressions <cmake-generator-expressions(7)>`.
|
|
Multi-configuration generators append a per-configuration
|
|
subdirectory to the specified directory unless a generator expression
|
|
is used.
|
|
|
|
This property is initialized by the value of the
|
|
:variable:`CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY` variable if it is
|
|
set when a target is created.
|
|
|
|
If the :prop_tgt:`PRECOMPILE_HEADERS_REUSE_FROM` target is set, this property
|
|
is ignored and the reusage target's value of this property is used instead.
|
|
|
|
.. |PDB_XXX| replace:: :prop_tgt:`PDB_OUTPUT_DIRECTORY`
|
|
.. include:: include/COMPILE_PDB_NOTE.rst
|