summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-06-19 18:27:01 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-06-19 18:27:01 (GMT)
commit590460aaaeec05751bf21c2f79250fcdffd2cfad (patch)
treeb77e22e99cdae6728d0195eb483d785e9d2af28b /Source/cmSystemTools.h
parent218efecd890bf41d968f2b56ef01ea6acd9664b7 (diff)
downloadCMake-590460aaaeec05751bf21c2f79250fcdffd2cfad.zip
CMake-590460aaaeec05751bf21c2f79250fcdffd2cfad.tar.gz
CMake-590460aaaeec05751bf21c2f79250fcdffd2cfad.tar.bz2
new function
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 8317e64..51d9c41 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -244,6 +244,11 @@ public:
///! return true if the file is a directory.
static bool FileIsDirectory(const char* name);
+
+ static bool DoesFileExistWithExtensions(
+ const char *name,
+ const std::vector<std::string>& sourceExts);
+
static void Glob(const char *directory, const char *regexp,
std::vector<std::string>& files);
static void GlobDirs(const char *fullPath, std::vector<std::string>& files);