diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-12 09:30:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-12 09:30:35 (GMT) |
commit | aa3ca2b432ab346c28ea7c758cbbf57ca346e139 (patch) | |
tree | dec236eb51e746ae123edb3e9c01a5595381e12f /Source/cmMakefile.h | |
parent | e2ad65d3c27177b8f3ee3c9b81382ea883a3bfbd (diff) | |
download | CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.zip CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.tar.gz CMake-aa3ca2b432ab346c28ea7c758cbbf57ca346e139.tar.bz2 |
ENH: CMake and configure now use SUBDIRS in CMakeLists.txt to find all the directories of the system.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index d570de4..94cb988 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -14,7 +14,8 @@ =========================================================================*/ /** - * cmMakefile + * cmMakefile - used to parse and store the contents of a + * CMakeLists.txt makefile in memory. */ #ifndef cmMakefile_h #define cmMakefile_h @@ -23,6 +24,7 @@ #endif #include "cmClassFile.h" +#include "cmCollectFlags.h" #include <vector> #include <fstream> #include <iostream> @@ -82,10 +84,17 @@ public: { return m_OutputHomeDirectory.c_str(); } + cmCollectFlags& GetBuildFlags() + { + return m_BuildFlags; + } + const std::vector<std::string>& GetSubDirectories() + { + return m_SubDirectories; + } private: void ReadTemplateInstanceDirectory(std::string&); - void ReadSubdirs(std::ifstream& fin); void ReadClasses(std::ifstream& fin, bool t); friend class cmMakeDepend; // make depend needs direct access // to the m_Classes array @@ -99,7 +108,8 @@ protected: std::string m_LibraryName; // library name std::vector<cmClassFile> m_Classes; // list of classes in makefile std::vector<std::string> m_SubDirectories; // list of sub directories - std::vector<std::string> m_MakeVerbatim; // list of sub directories + std::vector<std::string> m_MakeVerbatim; // lines copied from input file + cmCollectFlags m_BuildFlags; }; |