summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/COMPILE_PDB_NAME.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-24 14:15:21 -0500
committerBrad King <brad.king@kitware.com>2014-02-26 09:34:38 -0500
commitfba51b096e2d8ec281653aa05720c11dc9b9bfe6 (patch)
tree8fdcb3374e5684c739389cb98c554b0727c9e74f /Help/prop_tgt/COMPILE_PDB_NAME.rst
parent3737860a383b1020f44a31be9ac5536e9913fc71 (diff)
downloadcmake-fba51b096e2d8ec281653aa05720c11dc9b9bfe6.tar.gz
MSVC: Add properties to configure compiler PDB files (#14762)
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.
Diffstat (limited to 'Help/prop_tgt/COMPILE_PDB_NAME.rst')
-rw-r--r--Help/prop_tgt/COMPILE_PDB_NAME.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/prop_tgt/COMPILE_PDB_NAME.rst b/Help/prop_tgt/COMPILE_PDB_NAME.rst
new file mode 100644
index 0000000000..24a9f62d6e
--- /dev/null
+++ b/Help/prop_tgt/COMPILE_PDB_NAME.rst
@@ -0,0 +1,11 @@
+COMPILE_PDB_NAME
+----------------
+
+Output name for the MS debug symbol ``.pdb`` file generated by the
+compiler while building source files.
+
+This property specifies the base name for the debug symbols file.
+If not set, the default is unspecified.
+
+.. |PDB_XXX| replace:: :prop_tgt:`PDB_NAME`
+.. include:: COMPILE_PDB_NOTE.txt