diff --git a/.gitmodules b/.gitmodules index 1bea5c23..50a03d73 100644 --- a/.gitmodules +++ b/.gitmodules @@ -54,3 +54,6 @@ [submodule "app/libraries/robin-map"] path = app/libraries/robin-map url = https://github.com/Tessil/robin-map +[submodule "app/libraries/thread-pool"] + path = app/libraries/thread-pool + url = https://github.com/bshoshany/thread-pool.git diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 325679a8..603522a8 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -115,6 +115,9 @@ add_subdirectory("libraries/robin-map") # Renderdoc in-app API include_directories("libraries/renderdoc") +# Thread Pool +include_directories("libraries/thread-pool") + # Build Skyline with full debugging data and -Og for debug builds set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -glldb -gdwarf-5 -fno-omit-frame-pointer") # Build Skyline with full debugging data and some optimizations for reldebug builds, build speed is pioritised diff --git a/app/libraries/thread-pool b/app/libraries/thread-pool new file mode 160000 index 00000000..67fad043 --- /dev/null +++ b/app/libraries/thread-pool @@ -0,0 +1 @@ +Subproject commit 67fad04348b91cf93bdfad7495d298f54825602c