Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use filesystem library #177

Merged
merged 7 commits into from
Aug 4, 2020
Merged

Use filesystem library #177

merged 7 commits into from
Aug 4, 2020

Conversation

Kingcom
Copy link
Owner

@Kingcom Kingcom commented Jul 18, 2020

This uses an implementation of the std::filesystem interface instead of the handwritten functions in various places. I've also added a test to verify the behavior of includes.

std::filesystem is not widely supported on all platforms yet, hence the third party library. However, there's a CMake option to switch to an official std::filesystem implementation. Either implementation is pretty rough on compile times, so an option for precompiled headers is also added.

@Kingcom Kingcom requested a review from sp1187 July 18, 2020 06:49
@Kingcom Kingcom force-pushed the filesystem branch 2 times, most recently from 6e5e282 to f0bc166 Compare July 18, 2020 12:57
@Kingcom Kingcom force-pushed the filesystem branch 13 times, most recently from 8e231a3 to 1ead611 Compare July 25, 2020 15:23
@Kingcom Kingcom force-pushed the filesystem branch 5 times, most recently from 19f9399 to ea96057 Compare July 26, 2020 15:46
std::filesystem platform support is unfortunatetly not yet where it
needs to be. Also adds an option to force usage of std::filesystem
They come with the extra benefit of also supporting filesystem paths
Both std::filesystem and ghc::filesystem are pretty heavy headers, this
increases the throughput by 200% on my machine
@Kingcom Kingcom changed the title Use std::filesystem Use filesystem library Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants