diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-06-30 17:44:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-07-03 11:43:18 (GMT) |
commit | 7a969fe21d736b6c6755b5dc7a105f1427242cdd (patch) | |
tree | e5049985a624ff703b52dcff17fad5f60cfbff8c /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 19f7588d3d715fdf3c32669fc756e2c68fbf1da5 (diff) | |
download | CMake-7a969fe21d736b6c6755b5dc7a105f1427242cdd.zip CMake-7a969fe21d736b6c6755b5dc7a105f1427242cdd.tar.gz CMake-7a969fe21d736b6c6755b5dc7a105f1427242cdd.tar.bz2 |
cmMakefile: Refactor API to better handle empty config values
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 428c748..9f798e6 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -568,8 +568,9 @@ void cmGlobalVisualStudio7Generator::WriteSLNFooter(std::ostream& fout) std::string cmGlobalVisualStudio7Generator::WriteUtilityDepend( cmGeneratorTarget const* target) { - std::vector<std::string> configs; - target->Target->GetMakefile()->GetConfigurations(configs); + std::vector<std::string> configs = + target->Target->GetMakefile()->GetGeneratorConfigs( + cmMakefile::ExcludeEmptyConfig); std::string pname = cmStrCat(target->GetName(), "_UTILITY"); std::string fname = cmStrCat(target->GetLocalGenerator()->GetCurrentBinaryDirectory(), '/', |