summaryrefslogtreecommitdiffstats
path: root/Source/cmDepends.h
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/cmDepends.h
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/cmDepends.h')
-rw-r--r--Source/cmDepends.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h
index f48c325..b9e3f99 100644
--- a/Source/cmDepends.h
+++ b/Source/cmDepends.h
@@ -31,8 +31,15 @@ class cmDepends
public:
/** Instances need to know the build directory name and the relative
path from the build directory to the target file. */
- cmDepends(const char* dir, const char* targetFile, bool verbose);
-
+ cmDepends();
+
+ /** set the name directory and extensions of the target file to scan */
+ void SetTargetFile(const char* dir, const char* targetFile,
+ const char *markExt, const char *makeExt);
+
+ /** should this be verbose in its output */
+ void SetVerbose(bool verb) { m_Verbose = verb; }
+
/** Virtual destructor to cleanup subclasses properly. */
virtual ~cmDepends();