diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-05-20 20:56:34 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-05-20 20:56:34 (GMT) |
commit | 3031467e33e61d9e7daa3357ee5f6b31c233e7fd (patch) | |
tree | 971ff1363cd96f5821c1c59bd633801134578c58 /Source/cmMakefile.h | |
parent | 17d6f9e17062d0ddf392823ba51e92f31ebdf7d5 (diff) | |
download | CMake-3031467e33e61d9e7daa3357ee5f6b31c233e7fd.zip CMake-3031467e33e61d9e7daa3357ee5f6b31c233e7fd.tar.gz CMake-3031467e33e61d9e7daa3357ee5f6b31c233e7fd.tar.bz2 |
ENH: Implement additional make clean files as a directory property instead of cmake variable
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 8b60aad..d417f74 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -667,6 +667,11 @@ public: ///! Return true if the directory is preorder. bool IsDirectoryPreOrder(const char* dir); + ///! Set/Get a property of this directory + void SetProperty(const char *prop, const char *value); + const char *GetProperty(const char *prop) const; + bool GetPropertyAsBool(const char *prop) const; + protected: // add link libraries and directories to the target void AddGlobalLinkInformation(const char* name, cmTarget& target); @@ -743,6 +748,8 @@ private: DefinitionMap::key_type m_TemporaryDefinitionKey; cmsys::RegularExpression m_cmDefineRegex; + + std::map<cmStdString,cmStdString> m_Properties; }; |