summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ed4b76..ce3be95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,16 +18,21 @@ set(PKE_SOURCE_FILES
src/components.cpp
src/ecs.hpp
src/ecs.cpp
+ src/entities.hpp
+ src/entities.cpp
src/event.hpp
src/event.cpp
src/game.hpp
src/game.cpp
src/memory.hpp
src/memory.cpp
+ src/memory-allocator.hpp
src/dynamic-array.hpp
src/dynamic-array.cpp
src/asset-manager.hpp
src/asset-manager.cpp
+ src/vendor/cgltf-include.hpp
+ src/vendor/cgltf-include.cpp
src/vendor/glm_include.hpp
src/vendor/stb_image_include.hpp
src/vendor/stb_image_include.cpp
@@ -121,6 +126,10 @@ FetchContent_Declare(stb URL https://github.com/nothings/stb/archive/5736b15f7ea
FetchContent_MakeAvailable(stb)
target_include_directories(pke PUBLIC "${PROJECT_BINARY_DIR}/_deps/stb-src")
+FetchContent_Declare(cgltf URL https://github.com/jkuhlmann/cgltf/archive/271614ce5fa8bed6daf3bc824d12a3a652ebdb15.zip)
+FetchContent_MakeAvailable(cgltf)
+target_include_directories(pke PUBLIC "${PROJECT_BINARY_DIR}/_deps/cgltf-src")
+
target_include_directories(pke PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_link_libraries(pke PUBLIC imguidocked)