summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-06-21 19:02:52 (GMT)
committerBrad King <brad.king@kitware.com>2001-06-21 19:02:52 (GMT)
commitcf829929649c3dc7871e653de33580679c2db558 (patch)
tree67d62b23de64b1845c7601a845d53591c96d8e32 /Source/cmMakefile.h
parent8ffe832e9bc22deddef38eed1c19fe437b5d031f (diff)
downloadCMake-cf829929649c3dc7871e653de33580679c2db558.zip
CMake-cf829929649c3dc7871e653de33580679c2db558.tar.gz
CMake-cf829929649c3dc7871e653de33580679c2db558.tar.bz2
ENH: Extended INCLUDE_REGULAR_EXPRESSION to allow selective complaints about missing dependencies.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index a71fb20..bce13ac 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -346,6 +346,15 @@ public:
m_IncludeFileRegularExpression = regex;
}
+ /**
+ * Set a regular expression that include files that are not found
+ * must match in order to be considered a problem.
+ */
+ void SetComplainRegularExpression(const char* regex)
+ {
+ m_ComplainFileRegularExpression = regex;
+ }
+
/**
* Get the list of targets
*/
@@ -493,6 +502,7 @@ protected:
cmTarget::LinkLibraries m_LinkLibraries;
std::string m_IncludeFileRegularExpression;
+ std::string m_ComplainFileRegularExpression;
std::string m_DefineFlags;
std::vector<cmSourceGroup> m_SourceGroups;
typedef std::map<std::string, cmCommand*> RegisteredCommandsMap;