diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-10 16:13:15 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-10 16:13:15 (GMT) |
commit | 6b47b288678569a630c14af24200ec6f3736218a (patch) | |
tree | 046f59fe806476f6a057ea1627285f70fba055a2 /Source/cmSystemTools.h | |
parent | e0be3c71257164b58ce5ae1a0399b1d5b7f2441a (diff) | |
download | CMake-6b47b288678569a630c14af24200ec6f3736218a.zip CMake-6b47b288678569a630c14af24200ec6f3736218a.tar.gz CMake-6b47b288678569a630c14af24200ec6f3736218a.tar.bz2 |
ENH: fix line length style stuff
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 264eaf8..fb40e54 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -91,7 +91,8 @@ public: ///! Return true if there was an error at any point. static bool GetErrorOccuredFlag() { - return cmSystemTools::s_ErrorOccured || cmSystemTools::s_FatalErrorOccured; + return cmSystemTools::s_ErrorOccured || + cmSystemTools::s_FatalErrorOccured; } ///! If this is set to true, cmake stops processing commands. static void SetFatalErrorOccured() @@ -152,7 +153,8 @@ public: * want to find. 0 means all files, -1 means directories, 1 means * files only. This method returns true if search was succesfull. */ - static bool SimpleGlob(const cmStdString& glob, std::vector<cmStdString>& files, + static bool SimpleGlob(const cmStdString& glob, + std::vector<cmStdString>& files, int type = 0); ///! Copy a file. @@ -198,7 +200,9 @@ public: * escaped for this to with spaces. */ static bool RunSingleCommand(const char* command, std::string* output = 0, - int* retVal = 0, const char* dir = 0, bool verbose = true, double timeout = 0.0); + int* retVal = 0, const char* dir = 0, + bool verbose = true, + double timeout = 0.0); /** * Parse arguments out of a single string command @@ -298,9 +302,14 @@ public: static std::string MakeXMLSafe(const char* str); /** Create tar */ - static bool ListTar(const char* outFileName, std::vector<cmStdString>& files, bool gzip, bool verbose); - static bool CreateTar(const char* outFileName, const std::vector<cmStdString>& files, bool gzip, bool verbose); - static bool ExtractTar(const char* inFileName, const std::vector<cmStdString>& files, bool gzip, bool verbose); + static bool ListTar(const char* outFileName, + std::vector<cmStdString>& files, bool gzip, bool verbose); + static bool CreateTar(const char* outFileName, + const std::vector<cmStdString>& files, bool gzip, + bool verbose); + static bool ExtractTar(const char* inFileName, + const std::vector<cmStdString>& files, bool gzip, + bool verbose); private: static bool s_ForceUnixPaths; static bool s_RunCommandHideConsole; |