Skip to content

Commit

Permalink
builds but doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai committed May 2, 2024
1 parent 0a45004 commit 9ab53bb
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 4,765 deletions.
13 changes: 13 additions & 0 deletions cmake/dependencies/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,16 @@ if(NOT EXCLUDE_MPQ_SUPPORT)
FetchContent_MakeAvailable(StormLib)
list(APPEND ADDITIONAL_LIB_INCLUDES ${stormlib_SOURCE_DIR}/src)
endif()

#======== thread-pool ========
FetchContent_Declare(
ThreadPool
GIT_REPOSITORY https://github.com/bshoshany/thread-pool.git
GIT_TAG v4.1.0
)
FetchContent_MakeAvailable(ThreadPool)

# add_library(ThreadPool INTERFACE)
# target_include_directories(ThreadPool INTERFACE ${threadpool_SOURCE_DIR})

list(APPEND ADDITIONAL_LIB_INCLUDES ${threadpool_SOURCE_DIR}/include)
7 changes: 0 additions & 7 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ if (GFX_DEBUG_DISASSEMBLER)
target_include_directories(libgfxd PUBLIC ${LIBGFXD_DIR})
endif()

#=================== thread-pool ===================

set(THREADPOOL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thread-pool)
add_library(ThreadPool INTERFACE)

target_include_directories(ThreadPool INTERFACE ${THREADPOOL_DIR})

#=================== STB ===================

set(STB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/stb)
Expand Down
37 changes: 0 additions & 37 deletions extern/thread-pool/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

26 changes: 0 additions & 26 deletions extern/thread-pool/.github/ISSUE_TEMPLATE/failed-tests.md

This file was deleted.

23 changes: 0 additions & 23 deletions extern/thread-pool/.github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

20 changes: 0 additions & 20 deletions extern/thread-pool/.github/pull_request_template.md

This file was deleted.

Loading

0 comments on commit 9ab53bb

Please sign in to comment.