diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-23 16:26:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-24 07:24:43 (GMT) |
commit | 97b3768898431ffff824388dc263654a35a33aa2 (patch) | |
tree | 95de34fe52afc20873f982a13930b7949fe3d359 /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 600af01d41e32d304e43dc98783ec0f7f010f40e (diff) | |
download | CMake-97b3768898431ffff824388dc263654a35a33aa2.zip CMake-97b3768898431ffff824388dc263654a35a33aa2.tar.gz CMake-97b3768898431ffff824388dc263654a35a33aa2.tar.bz2 |
VS: Port WriteUtilityDepends to cmGeneratorTarget
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 37f509a..5473247 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -888,13 +888,14 @@ void cmGlobalVisualStudio7Generator::WriteSLNHeader(std::ostream& fout) //---------------------------------------------------------------------------- std::string -cmGlobalVisualStudio7Generator::WriteUtilityDepend(cmTarget const* target) +cmGlobalVisualStudio7Generator::WriteUtilityDepend( + cmGeneratorTarget const* target) { std::vector<std::string> configs; - target->GetMakefile()->GetConfigurations(configs); + target->Target->GetMakefile()->GetConfigurations(configs); std::string pname = target->GetName(); pname += "_UTILITY"; - std::string fname = target->GetMakefile()->GetCurrentBinaryDirectory(); + std::string fname = target->GetLocalGenerator()->GetCurrentBinaryDirectory(); fname += "/"; fname += pname; fname += ".vcproj"; |