summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-02-20 06:39:55 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-25 15:06:20 (GMT)
commit72f9bb29939f3765216e98e672197b3899d75f7d (patch)
treec2f564228c8c1d4632ca8d446aba3b16b1c4fc82 /Source/cmGlobalNinjaGenerator.h
parent2dd0cb7aeb2d70dcc6e103c29ce2ce3a02bd381a (diff)
downloadCMake-72f9bb29939f3765216e98e672197b3899d75f7d.zip
CMake-72f9bb29939f3765216e98e672197b3899d75f7d.tar.gz
CMake-72f9bb29939f3765216e98e672197b3899d75f7d.tar.bz2
ninja: make dyndep generation language aware
A target may have multiple languages with dyndep rules, separate `.dd` files should be generated.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index c619e67..69210ec 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -365,7 +365,8 @@ public:
std::string const& arg_dd,
std::vector<std::string> const& arg_ddis,
std::string const& module_dir,
- std::vector<std::string> const& linked_target_dirs);
+ std::vector<std::string> const& linked_target_dirs,
+ std::string const& arg_lang);
protected:
void Generate() override;