summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-01 20:55:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-01 20:55:32 (GMT)
commit96ec40943cc1f96d8789fff62c6416a91c01f066 (patch)
tree1a5dc61afab89b36a15d9fd886c771104e029783 /Source/cmMakefile.h
parent13d4fd06f09ad1beaab01d714c246dbee2568373 (diff)
downloadCMake-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.h11
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.