diff options
author | Brad King <brad.king@kitware.com> | 2008-05-08 14:09:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-05-08 14:09:14 (GMT) |
commit | 12935b1599a2186950db644ff336aca16d725da0 (patch) | |
tree | a3ca5b852b4896ab4849dba8a7fb20f1182e7d42 /Source/cmDependsC.h | |
parent | 92198d6b37c26ad5fa41f8cbed28e35af15db1cc (diff) | |
download | CMake-12935b1599a2186950db644ff336aca16d725da0.zip CMake-12935b1599a2186950db644ff336aca16d725da0.tar.gz CMake-12935b1599a2186950db644ff336aca16d725da0.tar.bz2 |
ENH: Light refactoring of implicit dependency scanning configuration implementation.
- Move lookup of config variables from cmLocalUnixMakefileGenerator3 to cmDepends hierarchy.
Diffstat (limited to 'Source/cmDependsC.h')
-rw-r--r-- | Source/cmDependsC.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/cmDependsC.h b/Source/cmDependsC.h index ce02aff..738e035 100644 --- a/Source/cmDependsC.h +++ b/Source/cmDependsC.h @@ -30,9 +30,7 @@ public: /** Checking instances need to know the build directory name and the relative path from the build directory to the target file. */ cmDependsC(); - cmDependsC(std::vector<std::string> const& includes, - const char* scanRegex, const char* complainRegex, - const cmStdString& cachFileName); + cmDependsC(cmLocalGenerator* lg, const char* targetDir, const char* lang); /** Virtual destructor to cleanup subclasses properly. */ virtual ~cmDependsC(); @@ -50,9 +48,6 @@ protected: void Scan(std::istream& is, const char* directory, const cmStdString& fullName); - // The include file search path. - std::vector<std::string> const* IncludePath; - // Regular expression to identify C preprocessor include directives. cmsys::RegularExpression IncludeRegexLine; @@ -60,9 +55,9 @@ protected: // recursively and which to complain about not finding. cmsys::RegularExpression IncludeRegexScan; cmsys::RegularExpression IncludeRegexComplain; - const std::string IncludeRegexLineString; - const std::string IncludeRegexScanString; - const std::string IncludeRegexComplainString; + std::string IncludeRegexLineString; + std::string IncludeRegexScanString; + std::string IncludeRegexComplainString; public: // Data structures for dependency graph walk. |