diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-23 16:26:44 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-24 07:24:30 (GMT) |
commit | b13e26e278dcc34243a2b31dfca8e23b01e15b76 (patch) | |
tree | f26ee6c4d51f8d42dbefaebbf6031f481b54bba5 /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | 8ac8739b2e5df2f36194261f9dcac95107b4b5f7 (diff) | |
download | CMake-b13e26e278dcc34243a2b31dfca8e23b01e15b76.zip CMake-b13e26e278dcc34243a2b31dfca8e23b01e15b76.tar.gz CMake-b13e26e278dcc34243a2b31dfca8e23b01e15b76.tar.bz2 |
VS: Port ProjectDepends to cmGeneratorTarget.
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 195aaa0..77c8fc8 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -175,7 +175,7 @@ cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout, << this->ConvertToSolutionPath(dir) << (dir[0]? "\\":"") << dspname << ext << "\", \"{" << guid << "}\"\n"; fout << "\tProjectSection(ProjectDependencies) = postProject\n"; - this->WriteProjectDepends(fout, dspname, dir, *t->Target); + this->WriteProjectDepends(fout, dspname, dir, t); fout << "\tEndProjectSection\n"; fout <<"EndProject\n"; @@ -204,9 +204,9 @@ void cmGlobalVisualStudio71Generator ::WriteProjectDepends(std::ostream& fout, const std::string&, - const char*, cmTarget const& target) + const char*, cmGeneratorTarget const* target) { - VSDependSet const& depends = this->VSTargetDepends[&target]; + VSDependSet const& depends = this->VSTargetDepends[target->Target]; for(VSDependSet::const_iterator di = depends.begin(); di != depends.end(); ++di) { @@ -215,7 +215,7 @@ cmGlobalVisualStudio71Generator if(guid.empty()) { std::string m = "Target: "; - m += target.GetName(); + m += target->GetName(); m += " depends on unknown target: "; m += name; cmSystemTools::Error(m.c_str()); |