mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 03:52:48 -05:00
COMP: Add entt
This commit is contained in:
@@ -4,6 +4,7 @@ project(toddcox-faster)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
include(vendor/eigen.cmake)
|
||||
include(vendor/entt.cmake)
|
||||
include(vendor/fmt.cmake)
|
||||
include(vendor/glad.cmake)
|
||||
include(vendor/glfw.cmake)
|
||||
|
||||
10
vendor/entt.cmake
vendored
Normal file
10
vendor/entt.cmake
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
entt
|
||||
GIT_REPOSITORY https://github.com/skypjack/entt.git
|
||||
GIT_TAG v3.11.1
|
||||
GIT_PROGRESS TRUE
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(entt)
|
||||
@@ -17,7 +17,19 @@ add_custom_command(
|
||||
add_library(vis-util INTERFACE)
|
||||
target_include_directories(vis-util INTERFACE include)
|
||||
|
||||
add_executable(vis src/main.cpp)
|
||||
add_executable(vis
|
||||
src/main.cpp
|
||||
src/comps.hpp
|
||||
)
|
||||
target_include_directories(vis PRIVATE include)
|
||||
target_link_libraries(vis PRIVATE tc glad eigen glfw yaml-cpp shaders fmt)
|
||||
target_link_libraries(vis PRIVATE
|
||||
tc
|
||||
glad
|
||||
eigen
|
||||
glfw
|
||||
yaml-cpp
|
||||
shaders
|
||||
fmt::fmt
|
||||
EnTT::EnTT
|
||||
)
|
||||
add_dependencies(vis presets)
|
||||
|
||||
Reference in New Issue
Block a user