diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-01-23 19:46:16 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-01-23 20:47:12 (GMT) |
commit | b7a2baf38c1f481f31db9ab41fc129a970287efd (patch) | |
tree | 946c797459ed2801bc808623f3c62852e4ff9018 /Source/cmGlobalNinjaGenerator.h | |
parent | ab2fc918216011a03f0fe7696e7bba67fc2627b3 (diff) | |
download | CMake-b7a2baf38c1f481f31db9ab41fc129a970287efd.zip CMake-b7a2baf38c1f481f31db9ab41fc129a970287efd.tar.gz CMake-b7a2baf38c1f481f31db9ab41fc129a970287efd.tar.bz2 |
Ninja Multi-Config: Add variable to control configs used in cross-config build
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index b61999f..d00a061 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -412,6 +412,9 @@ public: virtual const char* GetDefaultBuildAlias() const { return nullptr; } + virtual std::set<std::string> GetCrossConfigs( + const std::string& fileConfig) const; + protected: void Generate() override; @@ -623,6 +626,9 @@ public: const char* GetDefaultBuildAlias() const override; + std::set<std::string> GetCrossConfigs( + const std::string& fileConfig) const override; + protected: bool OpenBuildFileStreams() override; void CloseBuildFileStreams() override; |