@@ -242,6 +242,15 @@ as a git submodule, add the directory to your `CMakeLists.txt` with
242
242
to ensure correct include path that allow ` #include <ghc/filesystem.hpp> `
243
243
to work.
244
244
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
+
245
254
### Versioning
246
255
247
256
There is a version macro ` GHC_FILESYSTEM_VERSION ` defined in case future changes
@@ -472,7 +481,7 @@ to the expected behavior.
472
481
473
482
## Release Notes
474
483
475
- ### v1.2.7 (wip )
484
+ ### [ v1.2.8](https://github.com/gulrak/filesystem/releases/tag/v1.2.8 )
476
485
477
486
* Pull request [#30](https://github.com/gulrak/filesystem/pull/30), the
478
487
`CMakeLists.txt` will automatically exclude building examples and tests when
@@ -487,6 +496,17 @@ to the expected behavior.
487
496
warning in C++17 mode.
488
497
* Pull request [#32](https://github.com/gulrak/filesystem/pull/32), fixes
489
498
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.
490
510
491
511
### [v1.2.6](https://github.com/gulrak/filesystem/releases/tag/v1.2.6)
492
512
0 commit comments