mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 01:19:31 -05:00
cmGeneratorTarget: Add API for target-relative commands.
This commit is contained in:
@@ -1469,11 +1469,11 @@ void cmGlobalXCodeGenerator::CreateCustomCommands(cmXCodeObject* buildPhases,
|
||||
cmGeneratorTarget* gtgt)
|
||||
{
|
||||
std::vector<cmCustomCommand> const & prebuild
|
||||
= gtgt->Target->GetPreBuildCommands();
|
||||
= gtgt->GetPreBuildCommands();
|
||||
std::vector<cmCustomCommand> const & prelink
|
||||
= gtgt->Target->GetPreLinkCommands();
|
||||
= gtgt->GetPreLinkCommands();
|
||||
std::vector<cmCustomCommand> postbuild
|
||||
= gtgt->Target->GetPostBuildCommands();
|
||||
= gtgt->GetPostBuildCommands();
|
||||
|
||||
if(gtgt->GetType() == cmState::SHARED_LIBRARY &&
|
||||
!gtgt->IsFrameworkOnApple())
|
||||
|
||||
Reference in New Issue
Block a user