summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator2.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-12-09 20:11:22 (GMT)
committerBrad King <brad.king@kitware.com>2004-12-09 20:11:22 (GMT)
commit1480676dab3fed9dc7ebf2ec8552731c897e18a5 (patch)
tree00d18c0640307b52af9a0ddc291f2a15558c45c8 /Source/cmLocalUnixMakefileGenerator2.h
parent477f328aed63588253925ca16d2307eb96178659 (diff)
downloadCMake-1480676dab3fed9dc7ebf2ec8552731c897e18a5.zip
CMake-1480676dab3fed9dc7ebf2ec8552731c897e18a5.tar.gz
CMake-1480676dab3fed9dc7ebf2ec8552731c897e18a5.tar.bz2
ENH: Added post-build rules to executables and libraries. Generalized AppendLibDepend method to AppendAnyDepend. This takes most of the functionality of AppendCustomDepend too, and generalized jump-and-build to executables.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h
index b845565..9d2bd07 100644
--- a/Source/cmLocalUnixMakefileGenerator2.h
+++ b/Source/cmLocalUnixMakefileGenerator2.h
@@ -143,13 +143,17 @@ protected:
void AddSharedFlags(std::string& flags, const char* lang, bool shared);
void AddConfigVariableFlags(std::string& flags, const char* var);
void AppendFlags(std::string& flags, const char* newFlags);
- void AppendLibDepends(const cmTarget& target,
- std::vector<std::string>& depends);
- void AppendLibDepend(std::vector<std::string>& depends, const char* name);
- void AddCustomDepends(std::vector<std::string>& depends,
- const cmCustomCommand& cc);
- void AddCustomCommands(std::vector<std::string>& commands,
- const cmCustomCommand& cc);
+ void AppendTargetDepends(std::vector<std::string>& depends,
+ const cmTarget& target);
+ void AppendAnyDepend(std::vector<std::string>& depends, const char* name);
+ void AppendCustomDepends(std::vector<std::string>& depends,
+ const std::vector<cmCustomCommand>& ccs);
+ void AppendCustomDepend(std::vector<std::string>& depends,
+ const cmCustomCommand& cc);
+ void AppendCustomCommands(std::vector<std::string>& commands,
+ const std::vector<cmCustomCommand>& ccs);
+ void AppendCustomCommand(std::vector<std::string>& commands,
+ const cmCustomCommand& cc);
std::string GetRecursiveMakeCall(const char* tgt);
void WriteJumpAndBuildRules(std::ostream& makefileStream);