From 3d78f056fbf903539468ddfa9facd6f150c23968 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 13 Jan 2021 12:56:08 +0100 Subject: [PATCH] Add dependency entt --- .gitmodules | 3 +++ CMakeLists.txt | 3 ++- README.org | 1 + inferno/vendor/entt | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 160000 inferno/vendor/entt diff --git a/.gitmodules b/.gitmodules index 90e2110..0e1962c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "inferno/vendor/stb"] path = inferno/vendor/stb url = https://github.com/nothings/stb +[submodule "inferno/vendor/entt"] + path = inferno/vendor/entt + url = https://github.com/skypjack/entt diff --git a/CMakeLists.txt b/CMakeLists.txt index ac5e883..3775690 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,12 +46,13 @@ endif() # Include all headers include_directories( + "${ENGINE}/src" + "${ENGINE}/vendor/entt/src" "${ENGINE}/vendor/glad/include" "${ENGINE}/vendor/glfw/include" "${ENGINE}/vendor/glm" "${ENGINE}/vendor/json/include" "${ENGINE}/vendor/stb" - "${ENGINE}/src" ) # Define engine source files diff --git a/README.org b/README.org index c7a2b1e..a2448ee 100644 --- a/README.org +++ b/README.org @@ -35,6 +35,7 @@ Or * Libraries # - [[https://github.com/bulletphysics/bullet3][Bullet]] +- [[https://github.com/skypjack/entt][EnTT]] - [[https://github.com/Dav1dde/glad][glad]] - [[https://github.com/glfw/glfw][GLFW]] - [[https://github.com/g-truc/glm][GLM]] diff --git a/inferno/vendor/entt b/inferno/vendor/entt new file mode 160000 index 0000000..47ada87 --- /dev/null +++ b/inferno/vendor/entt @@ -0,0 +1 @@ +Subproject commit 47ada87ba2fab08c70fdd61fa2835a27fb9ce8a7