summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.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/cmGlobalVisualStudio8Generator.cxx
parent4b9e15fb47fcc85f92031a4220d37addb3207726 (diff)
downloadCMake-4cd815f0b314197ddabea94017e0ce8b15836c17.zip
CMake-4cd815f0b314197ddabea94017e0ce8b15836c17.tar.gz
CMake-4cd815f0b314197ddabea94017e0ce8b15836c17.tar.bz2
VS: Pass whole target to WriteProjectConfigurations
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 8353a3f..13a9ab3 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -353,7 +353,7 @@ void cmGlobalVisualStudio8Generator::WriteSolutionConfigurations(
}
void cmGlobalVisualStudio8Generator::WriteProjectConfigurations(
- std::ostream& fout, const std::string& name, cmStateEnums::TargetType type,
+ std::ostream& fout, const std::string& name, cmGeneratorTarget const& target,
std::vector<std::string> const& configs,
const std::set<std::string>& configsPartOfDefaultBuild,
std::string const& platformMapping)
@@ -375,7 +375,7 @@ void cmGlobalVisualStudio8Generator::WriteProjectConfigurations(
: this->GetPlatformName())
<< "\n";
}
- if (this->NeedsDeploy(type)) {
+ if (this->NeedsDeploy(target.GetType())) {
fout << "\t\t{" << guid << "}." << *i << "|" << this->GetPlatformName()
<< ".Deploy.0 = " << *i << "|"
<< (!platformMapping.empty() ? platformMapping