diff options
author | Brad King <brad.king@kitware.com> | 2001-03-15 23:09:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-15 23:09:16 (GMT) |
commit | be4db9150c6b3bd8a6c39d48fa693a6209c34740 (patch) | |
tree | 033cb0942c8e0b7eb43afbfaef19ec403ab56083 /Source/cmMakefile.h | |
parent | b9a8948ec879f2e6a9a2f6220bba061c44c8d4bb (diff) | |
download | CMake-be4db9150c6b3bd8a6c39d48fa693a6209c34740.zip CMake-be4db9150c6b3bd8a6c39d48fa693a6209c34740.tar.gz CMake-be4db9150c6b3bd8a6c39d48fa693a6209c34740.tar.bz2 |
ENH: Added INCLUDE_REGULAR_EXPRESSION command to set regular expression used in dependency checking.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 293d2bf..21ce96f 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -246,7 +246,16 @@ public: return m_CurrentOutputDirectory.c_str(); } //@} - + + /** + * Set a regular expression that include files must match + * in order to be considered as part of the depend information. + */ + void SetIncludeRegularExpression(const char* regex) + { + m_IncludeFileRegularExpression = regex; + } + /** * Specify the name of the library that is built by this makefile. */ @@ -429,6 +438,7 @@ protected: std::vector<std::string> m_LinkLibraries; std::vector<std::string> m_LinkLibrariesWin32; std::vector<std::string> m_LinkLibrariesUnix; + std::string m_IncludeFileRegularExpression; std::string m_DefineFlags; std::vector<customCommand> m_CustomCommands; typedef std::map<std::string, cmCommand*> RegisteredCommandsMap; |