ADD: BVH and taskflow library

This commit is contained in:
2025-11-19 00:58:20 +09:00
parent d0acaada65
commit 46761a5598
6 changed files with 19 additions and 1 deletions

6
.gitmodules vendored Normal file
View File

@@ -0,0 +1,6 @@
[submodule "third_party/BVH"]
path = third_party/BVH
url = https://github.com/hydrogendeuteride/BVH.git
[submodule "third_party/taskflow"]
path = third_party/taskflow
url = https://github.com/taskflow/taskflow.git

7
conanfile.txt Normal file
View File

@@ -0,0 +1,7 @@
[requires]
taskflow/3.10.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout

View File

@@ -101,7 +101,7 @@ target_include_directories(vulkan_engine PUBLIC
option(ENABLE_MIKKTS "Use MikkTSpace for tangent generation" ON)
target_link_libraries(vulkan_engine PUBLIC vma glm Vulkan::Vulkan fmt::fmt stb_image SDL2::SDL2 vkbootstrap imgui fastgltf::fastgltf ImGuizmo)
target_link_libraries(vulkan_engine PUBLIC vma glm Vulkan::Vulkan fmt::fmt stb_image SDL2::SDL2 vkbootstrap imgui fastgltf::fastgltf ImGuizmo BVH2)
if (ENABLE_MIKKTS)
target_link_libraries(vulkan_engine PUBLIC mikktspace)
target_compile_definitions(vulkan_engine PUBLIC MIKKTS_ENABLE=1)

1
third_party/BVH vendored Submodule

Submodule third_party/BVH added at 2a9838e7ef

View File

@@ -69,6 +69,9 @@ target_compile_definitions(ImGuizmo
target_link_libraries(ImGuizmo PUBLIC imgui)
add_subdirectory(BVH)
target_include_directories(BVH2 INTERFACE taskflow)
target_include_directories(stb_image INTERFACE stb_image)
# MikkTSpace (optional)

1
third_party/taskflow vendored Submodule

Submodule third_party/taskflow added at 0f5d556267