diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-27 15:01:19 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-09-27 15:01:19 -0400 |
commit | 74c1345333b456eb34480c987bc186ef2af3c536 (patch) | |
tree | 0c0751e4bfef94831377d7f5e20202b27cd06de9 /Source/cmSystemTools.h | |
parent | 1e3ba0f1d72873233193ce69614fd4bd880e8fc5 (diff) | |
download | cmake-74c1345333b456eb34480c987bc186ef2af3c536.tar.gz |
ENH: change ME to LIBRARY and added PROJECT, also remove ITK stuff and replaced with CMake
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index d4745f48de..ec80573d74 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -56,6 +56,17 @@ public: */ static bool FileExists(const char* filename); /** + * Return the number of times expression occurs in file in dir + */ + static int Grep(const char* dir, const char* file, const char* expression); + + /** + * Extract the right hand side of an asignment varibale = value + */ + static std::string ExtractVariable(const char* varible, + const char* line); + + /** * Read a list from a file into the array of strings. * This function assumes that the first line of the * list has been read. For example: NAME = \ was already |