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/cmMakefileExecutableTargetGenerator.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/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index f56037f..9e35e4c 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -279,11 +279,11 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) { this->LocalGenerator ->AppendCustomCommands(commands, - this->GeneratorTarget->Target->GetPreBuildCommands(), + this->GeneratorTarget->GetPreBuildCommands(), this->GeneratorTarget); this->LocalGenerator ->AppendCustomCommands(commands, - this->GeneratorTarget->Target->GetPreLinkCommands(), + this->GeneratorTarget->GetPreLinkCommands(), this->GeneratorTarget); } @@ -450,7 +450,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) { this->LocalGenerator-> AppendCustomCommands(commands, - this->GeneratorTarget->Target->GetPostBuildCommands(), + this->GeneratorTarget->GetPostBuildCommands(), this->GeneratorTarget); } |