summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerator.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-04-03 10:25:28 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-04-03 15:20:30 (GMT)
commit9a736158150852e9d011fabc0f4a33ce039be6fc (patch)
tree28018cdd336780f010ef14e2aca511586a70742d /Source/cmQtAutoGenerator.cxx
parent65203ce407f589a6ba148baf64b07ada09205030 (diff)
downloadCMake-9a736158150852e9d011fabc0f4a33ce039be6fc.zip
CMake-9a736158150852e9d011fabc0f4a33ce039be6fc.tar.gz
CMake-9a736158150852e9d011fabc0f4a33ce039be6fc.tar.bz2
Autogen: Protected calls to cmSystemTools::GetFilenameWithoutLastExtension
Diffstat (limited to 'Source/cmQtAutoGenerator.cxx')
-rw-r--r--Source/cmQtAutoGenerator.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerator.cxx b/Source/cmQtAutoGenerator.cxx
index 1716189..77bf2ec 100644
--- a/Source/cmQtAutoGenerator.cxx
+++ b/Source/cmQtAutoGenerator.cxx
@@ -183,6 +183,13 @@ std::string cmQtAutoGenerator::FileSystem::JoinPath(
return cmSystemTools::JoinPath(first, last);
}
+std::string cmQtAutoGenerator::FileSystem::GetFilenameWithoutLastExtension(
+ const std::string& filename)
+{
+ std::lock_guard<std::mutex> lock(Mutex_);
+ return cmSystemTools::GetFilenameWithoutLastExtension(filename);
+}
+
bool cmQtAutoGenerator::FileSystem::FileExists(std::string const& filename)
{
std::lock_guard<std::mutex> lock(Mutex_);