Skip to content

Commit 461a6c0

Browse files
committed
Updated readme and version bump to v1.2.8
1 parent 059b2fa commit 461a6c0

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,15 @@ as a git submodule, add the directory to your `CMakeLists.txt` with
242242
to ensure correct include path that allow `#include <ghc/filesystem.hpp>`
243243
to work.
244244

245+
The `CMakeLists.txt` offers a few options to customize its behaviour:
246+
247+
* `GHC_FILESYSTEM_BUILD_TESTING` - Compile tests, default is `OFF` when used as
248+
a submodule, else `ON`.
249+
* `GHC_FILESYSTEM_BUILD_EXAMPLES` - Compile the examples, default is `OFF` when used as
250+
a submodule, else `ON`.
251+
* `GHC_FILESYSTEM_WITH_INSTALL` - Add install target to build, default is `OFF` when used as
252+
a submodule, else `ON`.
253+
245254
### Versioning
246255

247256
There is a version macro `GHC_FILESYSTEM_VERSION` defined in case future changes
@@ -472,7 +481,7 @@ to the expected behavior.
472481
473482
## Release Notes
474483
475-
### v1.2.7 (wip)
484+
### [v1.2.8](https://github.com/gulrak/filesystem/releases/tag/v1.2.8)
476485
477486
* Pull request [#30](https://github.com/gulrak/filesystem/pull/30), the
478487
`CMakeLists.txt` will automatically exclude building examples and tests when
@@ -487,6 +496,17 @@ to the expected behavior.
487496
warning in C++17 mode.
488497
* Pull request [#32](https://github.com/gulrak/filesystem/pull/32), fixes
489498
old-style-cast warnings.
499+
* Pull request [#34](https://github.com/gulrak/filesystem/pull/34), fixes
500+
[TOCTOU](https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use) situation
501+
on `fs::create_directories`, thanks for the PR!
502+
* Feature [#35](https://github.com/gulrak/filesystem/issues/35), new CMake
503+
option to add an install target `GHC_FILESYSTEM_WITH_INSTALL` that is
504+
defaulted to ON if `ghc::filesystem` is used as via `add_subdirectory`.
505+
* Bugfix for [#33](https://github.com/gulrak/filesystem/issues/33), fixes
506+
an issue with `fs::path::lexically_normal()` that leaves a trailing separator
507+
in case of a resulting path ending with `..` as last element.
508+
* Bugfix for [#36](https://github.com/gulrak/filesystem/issues/36), warings
509+
on Xcode 11.2 due to unhelpfull references in path element iteration.
490510
491511
### [v1.2.6](https://github.com/gulrak/filesystem/releases/tag/v1.2.6)
492512

include/ghc/filesystem.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
178178

179179
// ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch)
180-
#define GHC_FILESYSTEM_VERSION 10207L
180+
#define GHC_FILESYSTEM_VERSION 10208L
181181

182182
namespace ghc {
183183
namespace filesystem {

0 commit comments

Comments
 (0)