summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorSebastian Theophil <stheophil@think-cell.com>2023-10-18 12:39:08 (GMT)
committerBrad King <brad.king@kitware.com>2023-10-18 13:55:28 (GMT)
commit67ddca187cc96b805060fc6d1a140814968ebe39 (patch)
tree17d84f1a90ab72ae7f5975d9e18beadcb543792f /Source/cmNinjaTargetGenerator.h
parent7144216f45c402b68ec8d7b5e8050b6536a199aa (diff)
downloadCMake-67ddca187cc96b805060fc6d1a140814968ebe39.zip
CMake-67ddca187cc96b805060fc6d1a140814968ebe39.tar.gz
CMake-67ddca187cc96b805060fc6d1a140814968ebe39.tar.bz2
Ninja: Set TARGET_COMPILE_PDB correctly for compile_commands.json
Previously the Ninja target generator did not set the TARGET_COMPILE_PDB before writing a compiler command to `compile_commands.json`. Fixes: #25214
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index 3f56113..2131f6d 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -189,6 +189,7 @@ protected:
std::string const& objectDir, std::string const& objectFileName,
std::string const& objectFileDir, std::string const& flags,
std::string const& defines, std::string const& includes,
+ std::string const& targetCompilePdb, std::string const& targetPdb,
std::string const& outputConfig);
void AdditionalCleanFiles(const std::string& config);