diff options
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 7456544..fbfd650 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -95,6 +95,10 @@ public: * superclass. */ void SetMakefileGenerator(cmMakefileGenerator*); + + ///! Get the current makefile generator. + cmMakefileGenerator* GetMakefileGenerator() + { return m_MakefileGenerator;} /** * Produce the output makefile. @@ -132,6 +136,13 @@ public: void AddExecutable(const char *exename, const std::vector<std::string> &srcs); /** + * Add a utility to the build. A utiltity target is + * a command that is run every time a target is built. + */ + void AddUtilityCommand(const char* utilityName, + const char* command); + + /** * Add a utility on which this project depends. A utility is an executable * name as would be specified to the ADD_EXECUTABLE or UTILITY_SOURCE * commands. It is not a full path nor does it have an extension. |