diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-26 21:37:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-27 14:23:08 (GMT) |
commit | 9590c3a400cc16882fee860818cfdcca82e17a37 (patch) | |
tree | 5f1347d554c0d4ff6eac58aca3848ee7106e1c5a /Source/cmGlobalNinjaGenerator.h | |
parent | 7a63dafafbc666a184a007adca5b138796384f77 (diff) | |
download | CMake-9590c3a400cc16882fee860818cfdcca82e17a37.zip CMake-9590c3a400cc16882fee860818cfdcca82e17a37.tar.gz CMake-9590c3a400cc16882fee860818cfdcca82e17a37.tar.bz2 |
Generator: Don't allow Ninja Multi-Config variables on other generators
We may want to enable these variables later on with specific
semantics. To avoid breaking backwards compatibility, make it an
error to use them for now.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 3db8356..5668dd1 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -640,6 +640,10 @@ public: bool ReadCacheEntriesForBuild(const cmState& state) override; + bool SupportsDefaultBuildType() const override { return true; } + bool SupportsCrossConfigs() const override { return true; } + bool SupportsDefaultConfigs() const override { return true; } + protected: bool OpenBuildFileStreams() override; void CloseBuildFileStreams() override; |