summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-05-22 15:59:17 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-05-22 17:15:50 (GMT)
commitdddb4f02f74a2ffe550e0b2404504d657358b69a (patch)
tree93bf0fc82a5e4bbb8ba66919ca8bb9f4b8d8341a /Source/cmGlobalNinjaGenerator.h
parent0c557a0cab681b17dbd4ed06f7776459880a90ea (diff)
downloadCMake-dddb4f02f74a2ffe550e0b2404504d657358b69a.zip
CMake-dddb4f02f74a2ffe550e0b2404504d657358b69a.tar.gz
CMake-dddb4f02f74a2ffe550e0b2404504d657358b69a.tar.bz2
Ninja Multi-Config: Make "install" targets depend on default configs
And add an "install:all" target. Fixes: #20713
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index b89fb8f..44e632f 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -415,6 +415,11 @@ public:
std::set<std::string> GetCrossConfigs(const std::string& config) const;
+ const std::set<std::string>& GetDefaultConfigs() const
+ {
+ return this->DefaultConfigs;
+ }
+
protected:
void Generate() override;