diff options
author | Brad King <brad.king@kitware.com> | 2009-02-10 13:50:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-10 13:50:33 (GMT) |
commit | c895d9f2e0dac609a8e3e126cc05a0400e9740a9 (patch) | |
tree | beb15f3e759df34a6fbf6dd66d465f0c5be6112c /Source/cmLocalUnixMakefileGenerator3.h | |
parent | 13f9bb646d5ce506efb8fc2d36b6f9ce2268fb2e (diff) | |
download | CMake-c895d9f2e0dac609a8e3e126cc05a0400e9740a9.zip CMake-c895d9f2e0dac609a8e3e126cc05a0400e9740a9.tar.gz CMake-c895d9f2e0dac609a8e3e126cc05a0400e9740a9.tar.bz2 |
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.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h index 0fdb593..3025078 100644 --- a/Source/cmLocalUnixMakefileGenerator3.h +++ b/Source/cmLocalUnixMakefileGenerator3.h @@ -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, |