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/cmGlobalVisualStudio6Generator.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/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index dd4e871..bb494f1 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -383,12 +383,14 @@ void cmGlobalVisualStudio6Generator::WriteDSWHeader(std::ostream& fout) //---------------------------------------------------------------------------- std::string -cmGlobalVisualStudio6Generator::WriteUtilityDepend(const cmTarget *target) +cmGlobalVisualStudio6Generator::WriteUtilityDepend( + const cmGeneratorTarget *target) { std::string pname = target->GetName(); pname += "_UTILITY"; pname = GetVS6TargetName(pname.c_str()); - std::string fname = target->GetMakefile()->GetCurrentBinaryDirectory(); + std::string fname = + target->GetLocalGenerator()->GetCurrentBinaryDirectory(); fname += "/"; fname += pname; fname += ".dsp"; |