summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerator.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-04-03 10:17:14 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-04-03 15:20:30 (GMT)
commit65203ce407f589a6ba148baf64b07ada09205030 (patch)
tree5b7955575ae7f578ee7f3f8afa822944ef93e2a6 /Source/cmQtAutoGenerator.h
parent14a86c9ea7efae1b3acb01bc79f2f1f5ef23c5f1 (diff)
downloadCMake-65203ce407f589a6ba148baf64b07ada09205030.zip
CMake-65203ce407f589a6ba148baf64b07ada09205030.tar.gz
CMake-65203ce407f589a6ba148baf64b07ada09205030.tar.bz2
Autogen: Protected calls to cmSystemTools::Split/JoinPath
Diffstat (limited to 'Source/cmQtAutoGenerator.h')
-rw-r--r--Source/cmQtAutoGenerator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerator.h b/Source/cmQtAutoGenerator.h
index 5f59b5d..33d0221 100644
--- a/Source/cmQtAutoGenerator.h
+++ b/Source/cmQtAutoGenerator.h
@@ -77,6 +77,14 @@ public:
/// @brief Wrapper for cmSystemTools::CollapseCombinedPath
std::string CollapseCombinedPath(std::string const& dir,
std::string const& file);
+ /// @brief Wrapper for cmSystemTools::SplitPath
+ void SplitPath(const std::string& p, std::vector<std::string>& components,
+ bool expand_home_dir = true);
+ /// @brief Wrapper for cmSystemTools::JoinPath
+ std::string JoinPath(const std::vector<std::string>& components);
+ /// @brief Wrapper for cmSystemTools::JoinPath
+ std::string JoinPath(std::vector<std::string>::const_iterator first,
+ std::vector<std::string>::const_iterator last);
// -- File access
bool FileExists(std::string const& filename);