diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-04-03 10:25:28 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-04-03 15:20:30 (GMT) |
commit | 9a736158150852e9d011fabc0f4a33ce039be6fc (patch) | |
tree | 28018cdd336780f010ef14e2aca511586a70742d /Source/cmQtAutoGenerator.cxx | |
parent | 65203ce407f589a6ba148baf64b07ada09205030 (diff) | |
download | CMake-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.cxx | 7 |
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_); |