diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-08-30 09:47:37 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-08-30 11:52:13 (GMT) |
commit | 10507c6dc0918777d43b3f961bd18162866f0bbb (patch) | |
tree | d0b05fd25d6c25e3ef47a81905bed33a65cccc49 /Source/cmMakefile.cxx | |
parent | 3ec986ce8e8df269eb6b6b9f37e12b02194168fd (diff) | |
download | CMake-10507c6dc0918777d43b3f961bd18162866f0bbb.zip CMake-10507c6dc0918777d43b3f961bd18162866f0bbb.tar.gz CMake-10507c6dc0918777d43b3f961bd18162866f0bbb.tar.bz2 |
cmMakefile: Add configurations getter with empty configuration default
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index f101cdc..e65d264 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -3057,6 +3057,16 @@ std::string cmMakefile::GetConfigurations(std::vector<std::string>& configs, return buildType; } +std::vector<std::string> cmMakefile::GetGeneratorConfigs() const +{ + std::vector<std::string> configs; + GetConfigurations(configs); + if (configs.empty()) { + configs.emplace_back(); + } + return configs; +} + bool cmMakefile::IsFunctionBlocked(const cmListFileFunction& lff, cmExecutionStatus& status) { |