ADD: BVH and taskflow library
This commit is contained in:
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal 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
7
conanfile.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[requires]
|
||||||
|
taskflow/3.10.0
|
||||||
|
[generators]
|
||||||
|
CMakeDeps
|
||||||
|
CMakeToolchain
|
||||||
|
[layout]
|
||||||
|
cmake_layout
|
||||||
@@ -101,7 +101,7 @@ target_include_directories(vulkan_engine PUBLIC
|
|||||||
|
|
||||||
option(ENABLE_MIKKTS "Use MikkTSpace for tangent generation" ON)
|
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)
|
if (ENABLE_MIKKTS)
|
||||||
target_link_libraries(vulkan_engine PUBLIC mikktspace)
|
target_link_libraries(vulkan_engine PUBLIC mikktspace)
|
||||||
target_compile_definitions(vulkan_engine PUBLIC MIKKTS_ENABLE=1)
|
target_compile_definitions(vulkan_engine PUBLIC MIKKTS_ENABLE=1)
|
||||||
|
|||||||
1
third_party/BVH
vendored
Submodule
1
third_party/BVH
vendored
Submodule
Submodule third_party/BVH added at 2a9838e7ef
3
third_party/CMakeLists.txt
vendored
3
third_party/CMakeLists.txt
vendored
@@ -69,6 +69,9 @@ target_compile_definitions(ImGuizmo
|
|||||||
|
|
||||||
target_link_libraries(ImGuizmo PUBLIC imgui)
|
target_link_libraries(ImGuizmo PUBLIC imgui)
|
||||||
|
|
||||||
|
add_subdirectory(BVH)
|
||||||
|
target_include_directories(BVH2 INTERFACE taskflow)
|
||||||
|
|
||||||
target_include_directories(stb_image INTERFACE stb_image)
|
target_include_directories(stb_image INTERFACE stb_image)
|
||||||
|
|
||||||
# MikkTSpace (optional)
|
# MikkTSpace (optional)
|
||||||
|
|||||||
1
third_party/taskflow
vendored
Submodule
1
third_party/taskflow
vendored
Submodule
Submodule third_party/taskflow added at 0f5d556267
Reference in New Issue
Block a user