summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-20 20:56:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-20 20:56:34 (GMT)
commit3031467e33e61d9e7daa3357ee5f6b31c233e7fd (patch)
tree971ff1363cd96f5821c1c59bd633801134578c58 /Source/cmMakefile.h
parent17d6f9e17062d0ddf392823ba51e92f31ebdf7d5 (diff)
downloadCMake-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.h7
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;
};