diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-22 22:42:58 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-26 21:02:13 (GMT) |
commit | 3f8aa62bfb339dded326b0bc36016134a3dc845b (patch) | |
tree | 52b6c1b7193c445c59ff99dbe105d2a39a1dac64 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | d288b216af6864567354ccb05e85466fb57d46b0 (diff) | |
download | CMake-3f8aa62bfb339dded326b0bc36016134a3dc845b.zip CMake-3f8aa62bfb339dded326b0bc36016134a3dc845b.tar.gz CMake-3f8aa62bfb339dded326b0bc36016134a3dc845b.tar.bz2 |
cmGeneratorTarget: Add API for target-relative commands.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index ca8d697..95a299d 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -2021,7 +2021,7 @@ void cmLocalVisualStudio7Generator const char* tool = this->FortranProject? "VFPreBuildEventTool":"VCPreBuildEventTool"; event.Start(tool); - event.Write(target->Target->GetPreBuildCommands()); + event.Write(target->GetPreBuildCommands()); event.Finish(); // Add pre-link event. @@ -2035,7 +2035,7 @@ void cmLocalVisualStudio7Generator { addedPrelink = true; std::vector<cmCustomCommand> commands = - target->Target->GetPreLinkCommands(); + target->GetPreLinkCommands(); cmGlobalVisualStudioGenerator* gg = static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator); gg->AddSymbolExportCommand( @@ -2045,7 +2045,7 @@ void cmLocalVisualStudio7Generator } if (!addedPrelink) { - event.Write(target->Target->GetPreLinkCommands()); + event.Write(target->GetPreLinkCommands()); } cmsys::auto_ptr<cmCustomCommand> pcc( this->MaybeCreateImplibDir(target, @@ -2059,7 +2059,7 @@ void cmLocalVisualStudio7Generator // Add post-build event. tool = this->FortranProject? "VFPostBuildEventTool":"VCPostBuildEventTool"; event.Start(tool); - event.Write(target->Target->GetPostBuildCommands()); + event.Write(target->GetPostBuildCommands()); event.Finish(); } |