diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-05-11 13:16:45 -0400 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-05-11 13:16:45 -0400 |
commit | c85069b290922572f9ef15a06ec1d0d0be3adaaa (patch) | |
tree | 8ba1f7b378a0295cea5f550cd8fcb76cb676985e /Source/cmDependsC.cxx | |
parent | 25d6c04add53631d6506674c3584fc0d8a6e0d46 (diff) | |
download | cmake-c85069b290922572f9ef15a06ec1d0d0be3adaaa.tar.gz |
ENH: some changes to the depends signature to be more flexible
Diffstat (limited to 'Source/cmDependsC.cxx')
-rw-r--r-- | Source/cmDependsC.cxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx index 6e359a55ca..71d45987e8 100644 --- a/Source/cmDependsC.cxx +++ b/Source/cmDependsC.cxx @@ -21,22 +21,15 @@ #include <ctype.h> // isspace //---------------------------------------------------------------------------- -cmDependsC::cmDependsC(const char* dir, const char* targetFile, bool verbose): - cmDepends(dir, targetFile, verbose), - m_SourceFile(), - m_IncludePath(0), - m_IncludeRegexLine(), - m_IncludeRegexScan(), - m_IncludeRegexComplain() +cmDependsC::cmDependsC() { } //---------------------------------------------------------------------------- -cmDependsC::cmDependsC(const char* dir, const char* targetFile, - const char* sourceFile, +// yummy look at all those constructor arguments +cmDependsC::cmDependsC(const char* sourceFile, std::vector<std::string> const& includes, const char* scanRegex, const char* complainRegex): - cmDepends(dir, targetFile, false), m_SourceFile(sourceFile), m_IncludePath(&includes), m_IncludeRegexLine("^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)([\">])"), |