diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-05-11 17:16:45 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-05-11 17:16:45 (GMT) |
commit | c85069b290922572f9ef15a06ec1d0d0be3adaaa (patch) | |
tree | 8ba1f7b378a0295cea5f550cd8fcb76cb676985e /Source/cmDependsC.h | |
parent | 25d6c04add53631d6506674c3584fc0d8a6e0d46 (diff) | |
download | CMake-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.h')
-rw-r--r-- | Source/cmDependsC.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmDependsC.h b/Source/cmDependsC.h index 0a0bc36..2f16d77 100644 --- a/Source/cmDependsC.h +++ b/Source/cmDependsC.h @@ -29,14 +29,15 @@ class cmDependsC: public cmDepends public: /** Checking instances need to know the build directory name and the relative path from the build directory to the target file. */ - cmDependsC(const char* dir, const char* targetFile, bool verbose); + cmDependsC(); /** Scanning need to know the build directory name, the relative path from the build directory to the target file, the source file from which to start scanning, and the include file search - path. It also uses the include file regular expressions. */ - cmDependsC(const char* dir, const char* targetFile, - const char* sourceFile, std::vector<std::string> const& includes, + path. It also uses the include file regular expressions. + This is a good example of why constructors should not take arguments. + */ + cmDependsC(const char* sourceFile, std::vector<std::string> const& includes, const char* scanRegex, const char* complainRegex); /** Virtual destructor to cleanup subclasses properly. */ |