ghc::filesystem Release v1.2.8
2019-11-15 09:10
Dieser Tage bin ich, dank meines Arbeitgebers, auf der [Meeting C++ 2019](https://meetingcpp.com/2019/) Konferenz, und ich bin begeistert von dem bisherigen Verlauf. Ich hab daher heute früh, bevor ich das Hotel verlasse, die kreative Stimmung genutzt und v1.2.8 von [`ghc::filesystem`](https://github.com/gulrak/filesystem) veröffentlicht. Es handelt sich dabei hauptsächlich um ein Bugfix-Release, aber es gibt auch eine neue CMake-Option um zu steuern, ob ein `install`-Target in die Build-Dateien eingefügt werden soll.
Außerdem sind diesmal fünf Pull-Requests in das Release eingegangen und ich danke den Mitwirkenden für ihre Unterstützung.
Die Änderungen in v1.2.8
(Projektsprache und Changelog nur in Englisch, sorry):
- Pull request #30, the
CMakeLists.txtwill automatically exclude building examples and tests when used as submodule, the configuration options now use a prefixed name to reduce risk of conflicts. - Pull request #24, install target now creates a
ghcFilesystemConfig.cmakein${CMAKE_INSTALL_LIBDIR}/cmake/ghcFilesystemforfind_packagethat exports a target asghcFilesystem::ghc_filesystem. - Pull request #31, fixes
error: redundant redeclaration of 'constexpr' static data memberdeprecation warning in C++17 mode. - Pull request #32, fixes old-style-cast warnings.
- Pull request #34, fixes TOCTOU situation on
fs::create_directories, thanks for the PR! - Feature #35, new CMake option to add an install target
GHC_FILESYSTEM_WITH_INSTALLthat is defaulted to OFF ifghc::filesystemis used viaadd_subdirectory. - Bugfix for #33, fixes an issue with
fs::path::lexically_normal()that leaves a trailing separator in case of a resulting path ending with..as last element. - Bugfix for #36, warings on Xcode 11.2 due to unhelpfull references in path element iteration.