summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator2.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-12-09 18:52:32 (GMT)
committerBrad King <brad.king@kitware.com>2004-12-09 18:52:32 (GMT)
commit477f328aed63588253925ca16d2307eb96178659 (patch)
tree18117736ebbd55db9f1caf280fc916da27e8c4ce /Source/cmLocalUnixMakefileGenerator2.h
parent729c5644cf8ca341c16c0d25d887ddb95a92c4c9 (diff)
downloadCMake-477f328aed63588253925ca16d2307eb96178659.zip
CMake-477f328aed63588253925ca16d2307eb96178659.tar.gz
CMake-477f328aed63588253925ca16d2307eb96178659.tar.bz2
ENH: Implemented utility targets. This involved pulling part of the custom command rule implementation out into shared methods.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h
index 075a898..b845565 100644
--- a/Source/cmLocalUnixMakefileGenerator2.h
+++ b/Source/cmLocalUnixMakefileGenerator2.h
@@ -66,7 +66,8 @@ protected:
void GenerateTargetRuleFile(const cmTarget& target);
void GenerateObjectRuleFile(const cmTarget& target,
const cmSourceFile& source);
- void GenerateCustomRuleFile(const cmSourceFile& source);
+ void GenerateCustomRuleFile(const cmCustomCommand& cc);
+ void GenerateUtilityRuleFile(const cmTarget& target);
std::string GenerateDependsMakeFile(const char* file);
void WriteMakeRule(std::ostream& os,
const char* comment,
@@ -145,6 +146,10 @@ protected:
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);
std::string GetRecursiveMakeCall(const char* tgt);
void WriteJumpAndBuildRules(std::ostream& makefileStream);