mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 17:19:05 -05:00
BUG: Added inclusion of pre-build rules for custom targets.
This commit is contained in:
@@ -789,8 +789,10 @@ cmLocalUnixMakefileGenerator2
|
||||
std::vector<std::string> commands;
|
||||
std::vector<std::string> depends;
|
||||
|
||||
// Utility targets store their rules in post-build commands.
|
||||
// Utility targets store their rules in pre- and post-build commands.
|
||||
this->AppendCustomDepends(depends, target.GetPreBuildCommands());
|
||||
this->AppendCustomDepends(depends, target.GetPostBuildCommands());
|
||||
this->AppendCustomCommands(commands, target.GetPreBuildCommands());
|
||||
this->AppendCustomCommands(commands, target.GetPostBuildCommands());
|
||||
|
||||
// Add dependencies on targets that must be built first.
|
||||
|
||||
Reference in New Issue
Block a user