feat: add gulrak/filesystem submodule

... for old macs that don't have std::filesystem in their stdlib.

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-10-13 18:37:44 -03:00 committed by DioEgizio
parent 5bdb3703ed
commit c520faed6d
5 changed files with 14 additions and 0 deletions

3
.gitmodules vendored
View File

@ -7,3 +7,6 @@
[submodule "libraries/tomlplusplus"]
path = libraries/tomlplusplus
url = https://github.com/marzer/tomlplusplus.git
[submodule "libraries/filesystem"]
path = libraries/filesystem
url = https://github.com/gulrak/filesystem

View File

@ -323,6 +323,7 @@ endif()
add_subdirectory(libraries/katabasis) # An OAuth2 library that tried to do too much
add_subdirectory(libraries/gamemode)
add_subdirectory(libraries/murmur2) # Hash for usage with the CurseForge API
add_subdirectory(libraries/filesystem) # Implementation of std::filesystem for old C++, for usage in old macOS
############################### Built Artifacts ###############################

View File

@ -976,6 +976,7 @@ target_link_libraries(Launcher_logic
BuildConfig
Katabasis
Qt${QT_VERSION_MAJOR}::Widgets
ghc_filesystem
)
if (UNIX AND NOT CYGWIN AND NOT APPLE)

View File

@ -10,6 +10,14 @@ This library has served as a base for some (much more full-featured and advanced
Copyright belongs to Petr Mrázek, unless explicitly stated otherwise in the source files. Available under the Apache 2.0 license.
## filesystem
Gulrak's implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
See [github repo](https://github.com/gulrak/filesystem).
MIT licensed.
## gamemode
A performance optimization daemon.

1
libraries/filesystem Submodule

@ -0,0 +1 @@
Subproject commit cd6805e94dd5d6346be1b75a54cdc27787319dd2