summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-11 17:16:45 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-11 17:16:45 (GMT)
commitc85069b290922572f9ef15a06ec1d0d0be3adaaa (patch)
tree8ba1f7b378a0295cea5f550cd8fcb76cb676985e /Source/cmDependsC.cxx
parent25d6c04add53631d6506674c3584fc0d8a6e0d46 (diff)
downloadCMake-c85069b290922572f9ef15a06ec1d0d0be3adaaa.zip
CMake-c85069b290922572f9ef15a06ec1d0d0be3adaaa.tar.gz
CMake-c85069b290922572f9ef15a06ec1d0d0be3adaaa.tar.bz2
ENH: some changes to the depends signature to be more flexible
Diffstat (limited to 'Source/cmDependsC.cxx')
-rw-r--r--Source/cmDependsC.cxx13
1 files changed, 3 insertions, 10 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx
index 6e359a5..71d4598 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]*[<\"]([^\">]+)([\">])"),