diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-06 17:06:23 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-06 17:06:23 (GMT) |
commit | 25ff4552b3d17c9c4f601c7f488710c4350323d1 (patch) | |
tree | 79475f5fb9965ad672bb85ae245130f63e632cce /Source/cmMakefile.h | |
parent | 2c7e9b3b59cda840adc2aa4c3bfe1ffa0707be99 (diff) | |
download | CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.zip CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.tar.gz CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.tar.bz2 |
new arch
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 4b3bbe3..1deee8e 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -27,7 +27,7 @@ class cmFunctionBlocker; class cmCommand; -class cmMakefileGenerator; +class cmLocalGenerator; class cmMakeDepend; /** \class cmMakefile @@ -96,11 +96,11 @@ public: * dependent, although the interface is through a generic * superclass. */ - void SetMakefileGenerator(cmMakefileGenerator*); + void SetLocalGenerator(cmLocalGenerator*); ///! Get the current makefile generator. - cmMakefileGenerator* GetMakefileGenerator() - { return m_MakefileGenerator;} + cmLocalGenerator* GetLocalGenerator() + { return m_LocalGenerator;} /** * Produce the output makefile. @@ -485,15 +485,6 @@ public: */ void ExpandVariables(); - /** 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 - * the cmMakefile created for it. CreateObject is called on - * the prototype to create a cmMakefileGenerator for each cmMakefile that - * is created. - */ - void FindSubDirectoryCMakeListsFiles(std::vector<cmMakefile*>& makefiles); - /** * find what source group this source is in */ @@ -519,14 +510,9 @@ public: * Set/Get the name of the parent directories CMakeLists file * given a current CMakeLists file name */ - void SetCacheManager(cmCacheManager *cm) { - this->m_CacheManager = cm; } - cmCacheManager *GetCacheManager() { - return m_CacheManager; } + cmCacheManager *GetCacheManager() const; protected: - cmCacheManager *m_CacheManager; - // add link libraries and directories to the target void AddGlobalLinkInformation(const char* name, cmTarget& target); @@ -573,7 +559,7 @@ protected: DefinitionMap m_Definitions; RegisteredCommandsMap m_Commands; std::vector<cmCommand*> m_UsedCommands; - cmMakefileGenerator* m_MakefileGenerator; + cmLocalGenerator* m_LocalGenerator; bool IsFunctionBlocked(const char *name, std::vector<std::string> const& args); private: |