diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-01 20:55:32 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-01 20:55:32 (GMT) |
commit | 96ec40943cc1f96d8789fff62c6416a91c01f066 (patch) | |
tree | 1a5dc61afab89b36a15d9fd886c771104e029783 /Source/cmMakefile.h | |
parent | 13d4fd06f09ad1beaab01d714c246dbee2568373 (diff) | |
download | CMake-96ec40943cc1f96d8789fff62c6416a91c01f066.zip CMake-96ec40943cc1f96d8789fff62c6416a91c01f066.tar.gz CMake-96ec40943cc1f96d8789fff62c6416a91c01f066.tar.bz2 |
ENH: implement ADD_TARGET command, and add an ALL_BUILD target
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. |