diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-27 19:01:19 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-27 19:01:19 (GMT) |
commit | 74c1345333b456eb34480c987bc186ef2af3c536 (patch) | |
tree | 0c0751e4bfef94831377d7f5e20202b27cd06de9 /Source/cmMakefile.h | |
parent | 1e3ba0f1d72873233193ce69614fd4bd880e8fc5 (diff) | |
download | CMake-74c1345333b456eb34480c987bc186ef2af3c536.zip CMake-74c1345333b456eb34480c987bc186ef2af3c536.tar.gz CMake-74c1345333b456eb34480c987bc186ef2af3c536.tar.bz2 |
ENH: change ME to LIBRARY and added PROJECT, also remove ITK stuff and replaced with CMake
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 3396dd5..6541cff 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -64,6 +64,15 @@ public: { return m_LibraryName.c_str(); } + // Set the name of the library that is built by this makefile + void SetProjectName(const char* lib) + { + m_ProjectName = lib; + } + const char* GetProjectName() + { + return m_ProjectName.c_str(); + } // Set the name of the library that is built by this makefile void SetOutputDirectory(const char* lib) @@ -93,6 +102,11 @@ public: return m_SubDirectories; } + bool HasExecutables() + { + return m_Executables; + } + private: void ReadTemplateInstanceDirectory(std::string&); void ReadClasses(std::ifstream& fin, bool t); @@ -107,6 +121,7 @@ protected: std::string m_cmHomeDirectory; // Home directory for source std::string m_cmCurrentDirectory; // current directory in source std::string m_LibraryName; // library name + std::string m_ProjectName; // project 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; // lines copied from input file |