summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-12-04 21:03:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-12-04 21:03:19 (GMT)
commit5050706ae393bf2c10a5279ddc23613775ad9b3b (patch)
tree8d16cccaf3509bd56e20d432d78b1e3400ea2e89 /Source/kwsys/SystemTools.hxx.in
parentab7f11a23941ffe69d6e9de3c3c35e4835424e5f (diff)
downloadCMake-5050706ae393bf2c10a5279ddc23613775ad9b3b.zip
CMake-5050706ae393bf2c10a5279ddc23613775ad9b3b.tar.gz
CMake-5050706ae393bf2c10a5279ddc23613775ad9b3b.tar.bz2
ENH: add a touch -E command to cmake
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 7679846..7cad203 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -280,6 +280,11 @@ public:
static unsigned long FileLength(const char *filename);
/**
+ Change the modification time or create a file
+ */
+ static bool Touch(const char* filename, bool create);
+
+ /**
* Compare file modification times.
* Return true for successful comparison and false for error.
* When true is returned, result has -1, 0, +1 for