summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-02-26 22:17:34 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-02-26 22:17:34 (GMT)
commitacbd160dd2731b2a77a8fd6fb444b52e8f0676a0 (patch)
treef93d16f4f3c5a946807374bf4b54e93d4b27f92e /Source/cmMakefile.h
parent32e738cd0c43d3738d988eee876a68cefc365769 (diff)
downloadCMake-acbd160dd2731b2a77a8fd6fb444b52e8f0676a0.zip
CMake-acbd160dd2731b2a77a8fd6fb444b52e8f0676a0.tar.gz
CMake-acbd160dd2731b2a77a8fd6fb444b52e8f0676a0.tar.bz2
a variety of fixes and enhancements
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 6e8a0fe..c11ebdb 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -346,6 +346,18 @@ public:
*/
void ExpandVariables();
+ struct customCommand
+ {
+ std::string m_Source;
+ std::string m_Result;
+ std::string m_Command;
+ std::vector<std::string> m_Depends;
+ };
+
+ std::vector<customCommand>& GetCustomCommands() {
+ return m_CustomCommands; };
+
+
/** Recursivly read and create a cmMakefile object for
* all CMakeLists.txt files in the GetSubDirectories list.
* Once the file is found, it ReadListFile is called on
@@ -359,6 +371,7 @@ public:
* be filled.
*/
void GenerateCacheOnly();
+
protected:
std::string m_Prefix;
std::vector<std::string> m_AuxSourceDirectories; //
@@ -381,13 +394,6 @@ protected:
std::vector<std::string> m_LinkLibrariesWin32;
std::vector<std::string> m_LinkLibrariesUnix;
std::string m_DefineFlags;
- struct customCommand
- {
- std::string m_Source;
- std::string m_Result;
- std::string m_Command;
- std::vector<std::string> m_Depends;
- };
std::vector<customCommand> m_CustomCommands;
typedef std::map<std::string, cmCommand*> RegisteredCommandsMap;
typedef std::map<std::string, std::string> DefinitionMap;