summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-08-08 11:33:58 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-08-09 10:20:50 (GMT)
commit27090096ef3dc572515c23e2ec92e5ee19432950 (patch)
tree2cee785fef19832b0f69c64256845d800dee4d4a /Source/cmGlobalGenerator.cxx
parent242435a9c891bda62880b77d6d612a8975f11059 (diff)
downloadCMake-27090096ef3dc572515c23e2ec92e5ee19432950.zip
CMake-27090096ef3dc572515c23e2ec92e5ee19432950.tar.gz
CMake-27090096ef3dc572515c23e2ec92e5ee19432950.tar.bz2
cmStringAlgorithms: Add cmRemoveQuotes
- Add `cmRemoveQuotes` function to cmStringAlgorithms - Remove unused removeQuotes inline functions
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 88da5eb..6cb0b5c 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2270,14 +2270,6 @@ bool cmGlobalGenerator::NameResolvesToFramework(
return false;
}
-inline std::string removeQuotes(const std::string& s)
-{
- if (s.front() == '\"' && s.back() == '\"') {
- return s.substr(1, s.size() - 2);
- }
- return s;
-}
-
bool cmGlobalGenerator::CheckCMP0037(std::string const& targetName,
std::string const& reason) const
{