From 885dedf3cdf0e17154a25ac3e8840a24075db85f Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 30 Dec 2020 11:15:58 +0100 Subject: [PATCH] Add stb dependency --- .gitmodules | 3 +++ CMakeLists.txt | 1 + README.org | 2 +- inferno/vendor/stb | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) create mode 160000 inferno/vendor/stb diff --git a/.gitmodules b/.gitmodules index 793ec69..90e2110 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "inferno/vendor/json"] path = inferno/vendor/json url = https://github.com/nlohmann/json +[submodule "inferno/vendor/stb"] + path = inferno/vendor/stb + url = https://github.com/nothings/stb diff --git a/CMakeLists.txt b/CMakeLists.txt index 4bfcf2f..3c011e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,7 @@ include_directories( "${ENGINE}/vendor/glfw/include" "${ENGINE}/vendor/glm" "${ENGINE}/vendor/json/include" + "${ENGINE}/vendor/stb" "${ENGINE}/src" ) diff --git a/README.org b/README.org index 91f08ea..39b7b52 100644 --- a/README.org +++ b/README.org @@ -39,9 +39,9 @@ Or - [[https://github.com/Dav1dde/glad][glad]] - [[https://github.com/glfw/glfw][GLFW]] - [[https://github.com/g-truc/glm][GLM]] -# - [[https://github.com/nothings/stb][stb]] - [[https://github.com/nlohmann/json][JSON]] # - [[https://github.com/lua/lua][Lua]] +- [[https://github.com/nothings/stb][stb]] * References diff --git a/inferno/vendor/stb b/inferno/vendor/stb new file mode 160000 index 0000000..b42009b --- /dev/null +++ b/inferno/vendor/stb @@ -0,0 +1 @@ +Subproject commit b42009b3b9d4ca35bc703f5310eedc74f584be58