mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
ENH: Give target in which custom commands build
This gives the cmTarget instance for which custom command rules are being generated to cmLocalUnixMakefileGenerator3::AppendCustomCommands. It will be useful in the future.
This commit is contained in:
@@ -326,10 +326,12 @@ protected:
|
||||
const cmCustomCommand& cc);
|
||||
void AppendCustomCommands(std::vector<std::string>& commands,
|
||||
const std::vector<cmCustomCommand>& ccs,
|
||||
cmTarget* target,
|
||||
cmLocalGenerator::RelativeRoot relative =
|
||||
cmLocalGenerator::HOME_OUTPUT);
|
||||
void AppendCustomCommand(std::vector<std::string>& commands,
|
||||
const cmCustomCommand& cc,
|
||||
cmTarget* target,
|
||||
bool echo_comment=false,
|
||||
cmLocalGenerator::RelativeRoot relative =
|
||||
cmLocalGenerator::HOME_OUTPUT,
|
||||
|
||||
Reference in New Issue
Block a user