summaryrefslogtreecommitdiff
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-12 11:38:24 -0400
committerBrad King <brad.king@kitware.com>2021-10-12 11:38:24 -0400
commit8d14ca3142d869eed7be953e156718f51a855e02 (patch)
tree037d24b3eef74bca6b067e3f6416e3f4209ad50e /Source/kwsys/SystemTools.hxx.in
parent6f1fe83f865edb276aa78dd9f5dda1dbebcf21e3 (diff)
parent58f046ba26d67c6e1ceda2a20977e316f1a942ad (diff)
downloadcmake-8d14ca3142d869eed7be953e156718f51a855e02.tar.gz
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2021-10-08 (b8c734ba)
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index e5d115e089..dd0cb3ba5b 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -214,6 +214,13 @@ public:
char separator);
/**
+ * Joins a vector of strings into a single string, with separator in between
+ * each string.
+ */
+ static std::string Join(const std::vector<std::string>& list,
+ const std::string& separator);
+
+ /**
* Return string with space added between capitalized words
* (i.e. EatMyShorts becomes Eat My Shorts )
* (note that IEatShorts becomes IEat Shorts)