Lines Matching +full:cpp +full:- +full:coveralls
1 …d Platforms](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows%20%7C%20Fre…
2 
3 [](https://travis-ci.org/…
5 [](https://cir…
7 [](h…
12 This is a header-only single-file std::filesystem compatible helper library,
32 to try to reduce my third-party dependencies. I could drop most of what
34 fun of it. Originally I based these helpers on my own coding- and naming
56 It should work on any of these with a C++11-capable compiler. I currently
63 `std::filesystem`, just a drop-in if you can't use it (with the exception
64 of the UTF-8 preference on Windows).
69 * macOS 10.12: Xcode 9.2 (clang-900.0.39.2), GCC 9.2, Clang 9.0, macOS 10.13: Xcode 10.1, macOS 10.…
78 The header comes with a set of unit-tests and uses [CMake](https://cmake.org/)
87 ```cpp
90 cmake -DCMAKE_BUILD_TYPE=Debug ..
112 ### Using it as Single-File-Header
114 As `ghc::filesystem` is at first a header-only library, it should be enough to copy the header
121 ```cpp
135 **Note that this code uses a two-stage preprocessor condition because Visual Studio 2015
140 …ch ([see](https://blogs.msdn.microsoft.com/vcblog/2018/04/09/msvc-now-correctly-reports-__cplusplu…
145 ```cpp
172 **Be aware, as a header-only library, it is not hiding the fact, that it
183 ### Using it as Forwarding-/Implementation-Header
188 implementation details in a single cpp that includes `ghc/fs_impl.hpp` to
190 inside the cpp, all other places are clean.
193 into a Windows-DLL, as a DLL interface with C++ standard templates in interfaces
200 ```cpp
214 #include <ghc/fs-fwd.hpp>
224 and in the implementation hiding cpp, you might use (before any include that includes `ghc/fs_fwd.h…
227 ```cpp
247 `add_subdirectory()` and then simply use `target_link_libraries(your-target ghc_filesystem)`
253 * `GHC_FILESYSTEM_BUILD_TESTING` - Compile tests, default is `OFF` when used as
255 * `GHC_FILESYSTEM_BUILD_EXAMPLES` - Compile the examples, default is `OFF` when used as
257 * `GHC_FILESYSTEM_WITH_INSTALL` - Add install target to build, default is `OFF` when used as
275 section. So you might head over to https://en.cppreference.com/w/cpp/filesystem
289 This is a helper class that currently checks for UTF-8 encoding on non-Windows platforms but on Win…
292 ```cpp
296 and then converts them to UTF-8, and replaces `argc` and `argv`. It is a guard-like
301 ```cpp
308 std::cerr << "Bad encoding, needs UTF-8." << std::endl;
312 // now use argc/argv as usual, they have utf-8 enconding on windows
319 That way `argv` is UTF-8 encoded as long as the scope from `main` is valid.
322 `false` as Xcode starts the application with `US-ASCII` as encoding, no matter what
338 [#2935](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2935) and
339 [#2937](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2937).
342 [#2937](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2937) but
343 not following [#2935](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2935),
346 the user of those functions to double-check via `fs::is_directory` if it really worked.
349 [WG21 P1164R0](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1164r0.pdf), the revison
356 ```cpp
364 implementation self-contained and not write a full C++17-upgrade for
371 ```cpp
378 ["UTF-8 Everywhere" philosophy](https://utf8everywhere.org/), I decided
379 agains it for now. If you need to call some Windows API, use the W-variant
392 ```cpp
401 ```cpp
412 #### fs.path ([ref](https://en.cppreference.com/w/cpp/filesystem/path))
422 a root-name (e.g. `"//host"`). The GCC implementation didn't choose to do that
430 ```cpp
437 For all non-host-leading paths the behaviour will match the one described by
440 #### fs.op.copy ([ref](https://en.cppreference.com/w/cpp/filesystem/copy))
446 and it is the only way to deep-copy a tree while only create links for the files.
481 in the `file_status` are therefore currently synthesized for the `user`-level
482 and copied to the `group`- and `other`-level. There is still some potential
513 * **Important: `ghc::filesystem` is re-licensed from BSD-3-Clause to MIT license.** (see
533 return value of `GetProcAddress` gave a warning with `-Wcast-function-type`
550 old-style-cast warnings.
552 [TOCTOU](https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use) situation
614 UTF-8 encoding errors with the replacement character `U+FFFD`).
626 * Travis-CI now additionally test with Xcode 10.2 on macOS
632 `fs::path::lexically_normal()` had some issues with `".."`-sequences.
657 target. To use it, only `target_link_libraries(your-target ghc_filesystem)`
666 implementation into a single cpp (`fs_impl.hpp`)
669 * Added CI integration for Travis-CI and Appveyor.
707 * Building tests with `-Wall -Wextra -Werror` and fixed resulting issues.
715 help follow the UTF-8 path on windows. Simply instantiate it with `argc` and
717 it to UTF-8. The destructor reverts the change.
722 odd patch levels mark in-between non-stable wip states.
725 * Removed non-conforming C99 `timespec`/`timeval` usage.
731 * Bugfix: `ghc::filesystem::canonical` now sees empty path as non-existant and reports
733 paths for non-existant argument paths. ([#1](https://github.com/gulrak/filesystem/issues/1))
738 due to UFT-8 decoding issues.