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.
13 lines
524 B
Plaintext
13 lines
524 B
Plaintext
.. note::
|
|
This property does not apply to STATIC library targets because no linker
|
|
is invoked to produce them so they have no linker-generated ``.pdb`` file
|
|
containing debug symbols.
|
|
|
|
The linker-generated program database files are specified by the
|
|
``/pdb`` linker flag and are not the same as compiler-generated
|
|
program database files specified by the ``/Fd`` compiler flag.
|
|
Use the |COMPILE_PDB_XXX| property to specify the latter.
|
|
|
|
This property is not implemented by the :generator:`Visual Studio 6`
|
|
generator.
|