diff options
author | Brad King <brad.king@kitware.com> | 2016-08-04 14:11:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-04 14:11:07 (GMT) |
commit | 8abca14034c22014aead0fd4f3be737cd3835ce4 (patch) | |
tree | c8a7b6f16feb152f58c949e84971c502e38221ed /Source/kwsys/SystemTools.hxx.in | |
parent | 995b54256ede7752b5d6fde049097d15aa16c405 (diff) | |
parent | 6c0820a8748e24155d3b7ce6991a90f5a396f524 (diff) | |
download | CMake-8abca14034c22014aead0fd4f3be737cd3835ce4.zip CMake-8abca14034c22014aead0fd4f3be737cd3835ce4.tar.gz CMake-8abca14034c22014aead0fd4f3be737cd3835ce4.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2016-08-03 (6d23dd7e)
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 aa1bf1b..28ff0b3 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -306,6 +306,11 @@ public: static std::string ConvertToWindowsOutputPath(const std::string&); /** + * Return true if a path with the given name exists in the current directory. + */ + static bool PathExists(const std::string& path); + + /** * Return true if a file exists in the current directory. * If isFile = true, then make sure the file is a file and * not a directory. If isFile = false, then return true |