diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-12-04 21:03:19 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-12-04 21:03:19 (GMT) |
commit | 5050706ae393bf2c10a5279ddc23613775ad9b3b (patch) | |
tree | 8d16cccaf3509bd56e20d432d78b1e3400ea2e89 /Source/kwsys/SystemTools.hxx.in | |
parent | ab7f11a23941ffe69d6e9de3c3c35e4835424e5f (diff) | |
download | CMake-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.in | 5 |
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 |