summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBeeble <beeble@users.noreply.github.com>2017-04-04 19:12:26 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-05 17:37:45 (GMT)
commit4cd815f0b314197ddabea94017e0ce8b15836c17 (patch)
treec4619bb9b11acad2d6dd8b98764eb5cf9482246a /Source/cmGlobalVisualStudio7Generator.cxx
parent4b9e15fb47fcc85f92031a4220d37addb3207726 (diff)
downloadCMake-4cd815f0b314197ddabea94017e0ce8b15836c17.zip
CMake-4cd815f0b314197ddabea94017e0ce8b15836c17.tar.gz
CMake-4cd815f0b314197ddabea94017e0ce8b15836c17.tar.bz2
VS: Pass whole target to WriteProjectConfigurations
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index e7fb203..2d0abf9 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -356,16 +356,16 @@ void cmGlobalVisualStudio7Generator::WriteTargetConfigurations(
if (expath) {
std::set<std::string> allConfigurations(configs.begin(), configs.end());
const char* mapping = target->GetProperty("VS_PLATFORM_MAPPING");
- this->WriteProjectConfigurations(
- fout, target->GetName().c_str(), target->GetType(), configs,
- allConfigurations, mapping ? mapping : "");
+ this->WriteProjectConfigurations(fout, target->GetName().c_str(),
+ *target, configs, allConfigurations,
+ mapping ? mapping : "");
} else {
const std::set<std::string>& configsPartOfDefaultBuild =
this->IsPartOfDefaultBuild(configs, projectTargets, target);
const char* vcprojName = target->GetProperty("GENERATOR_FILE_NAME");
if (vcprojName) {
- this->WriteProjectConfigurations(fout, vcprojName, target->GetType(),
- configs, configsPartOfDefaultBuild);
+ this->WriteProjectConfigurations(fout, vcprojName, *target, configs,
+ configsPartOfDefaultBuild);
}
}
}