Meta+CMake: Add ruc library
This commit is contained in:
@@ -19,3 +19,6 @@
|
|||||||
[submodule "inferno/vendor/stb/stb"]
|
[submodule "inferno/vendor/stb/stb"]
|
||||||
path = vendor/stb/stb
|
path = vendor/stb/stb
|
||||||
url = https://github.com/nothings/stb
|
url = https://github.com/nothings/stb
|
||||||
|
[submodule "vendor/ruc"]
|
||||||
|
path = vendor/ruc
|
||||||
|
url = https://github.com/Riyyi/ruc
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ Or
|
|||||||
- [[https://github.com/g-truc/glm][GLM]]
|
- [[https://github.com/g-truc/glm][GLM]]
|
||||||
- [[https://github.com/nlohmann/json][JSON]]
|
- [[https://github.com/nlohmann/json][JSON]]
|
||||||
- [[https://github.com/lua/lua][Lua]]
|
- [[https://github.com/lua/lua][Lua]]
|
||||||
|
- [[https://github.com/riyyi/ruc][ruc]]
|
||||||
- [[https://github.com/ThePhD/sol2][sol3]]
|
- [[https://github.com/ThePhD/sol2][sol3]]
|
||||||
- [[https://github.com/nothings/stb][stb]]
|
- [[https://github.com/nothings/stb][stb]]
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ target_include_directories(${ENGINE} PRIVATE
|
|||||||
"${CMAKE_SOURCE_DIR}/vendor/glm"
|
"${CMAKE_SOURCE_DIR}/vendor/glm"
|
||||||
"${CMAKE_SOURCE_DIR}/vendor/json/include"
|
"${CMAKE_SOURCE_DIR}/vendor/json/include"
|
||||||
"${CMAKE_SOURCE_DIR}/vendor/lua"
|
"${CMAKE_SOURCE_DIR}/vendor/lua"
|
||||||
|
"${CMAKE_SOURCE_DIR}/vendor/ruc/src"
|
||||||
"${CMAKE_SOURCE_DIR}/vendor/sol2/include"
|
"${CMAKE_SOURCE_DIR}/vendor/sol2/include"
|
||||||
"${CMAKE_SOURCE_DIR}/vendor/stb")
|
"${CMAKE_SOURCE_DIR}/vendor/stb")
|
||||||
target_link_libraries(${ENGINE} ${ENGINE}-dependencies)
|
target_link_libraries(${ENGINE} ${ENGINE}-dependencies)
|
||||||
|
|||||||
Vendored
+4
-1
@@ -6,6 +6,9 @@ set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
|
|||||||
# Add GLFW target to project
|
# Add GLFW target to project
|
||||||
add_subdirectory(glfw)
|
add_subdirectory(glfw)
|
||||||
|
|
||||||
|
# Add RUC target to project
|
||||||
|
add_subdirectory(ruc)
|
||||||
|
|
||||||
# Define engine source files
|
# Define engine source files
|
||||||
file(GLOB_RECURSE GLAD "glad/*.c")
|
file(GLOB_RECURSE GLAD "glad/*.c")
|
||||||
file(GLOB LUA "lua/lua/*.c")
|
file(GLOB LUA "lua/lua/*.c")
|
||||||
@@ -18,4 +21,4 @@ add_library(${ENGINE}-dependencies ${ENGINE_SOURCES})
|
|||||||
target_include_directories(${ENGINE}-dependencies PRIVATE
|
target_include_directories(${ENGINE}-dependencies PRIVATE
|
||||||
"glad/include"
|
"glad/include"
|
||||||
"lua")
|
"lua")
|
||||||
target_link_libraries(${ENGINE}-dependencies glfw)
|
target_link_libraries(${ENGINE}-dependencies glfw ruc)
|
||||||
|
|||||||
+1
Submodule vendor/ruc added at 50fe09ee56
Reference in New Issue
Block a user