summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-04-30 18:45:19 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-04-30 18:46:21 (GMT)
commitad08f93ee40a1cc855c403c1cc738237511224e3 (patch)
treedb5dfa5149698d1001b1fd3de65d4ffe15439f83 /Source/cmLocalNinjaGenerator.h
parent1ad4501ae97fb6c6deab096ff0ac7e03d554e26d (diff)
downloadCMake-ad08f93ee40a1cc855c403c1cc738237511224e3.zip
CMake-ad08f93ee40a1cc855c403c1cc738237511224e3.tar.gz
CMake-ad08f93ee40a1cc855c403c1cc738237511224e3.tar.bz2
Ninja Multi-Config: Split long command lines by config
Fixes: #22123
Diffstat (limited to 'Source/cmLocalNinjaGenerator.h')
-rw-r--r--Source/cmLocalNinjaGenerator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h
index 5b850f3..0734c5c 100644
--- a/Source/cmLocalNinjaGenerator.h
+++ b/Source/cmLocalNinjaGenerator.h
@@ -60,7 +60,8 @@ public:
}
std::string BuildCommandLine(
- std::vector<std::string> const& cmdLines,
+ std::vector<std::string> const& cmdLines, std::string const& outputConfig,
+ std::string const& commandConfig,
std::string const& customStep = std::string(),
cmGeneratorTarget const* target = nullptr) const;
@@ -119,6 +120,8 @@ private:
std::string MakeCustomLauncher(cmCustomCommandGenerator const& ccg);
std::string WriteCommandScript(std::vector<std::string> const& cmdLines,
+ std::string const& outputConfig,
+ std::string const& commandConfig,
std::string const& customStep,
cmGeneratorTarget const* target) const;