diff --git a/.gitmodules b/.gitmodules index fbd5ecc..adf1f13 100644 --- a/.gitmodules +++ b/.gitmodules @@ -14,3 +14,12 @@ [submodule "Vendor/glm"] path = Vendor/glm url = https://github.com/g-truc/glm +[submodule "Vendor/RmlUi"] + path = Vendor/RmlUi + url = https://github.com/mikke89/RmlUi +[submodule "Vendor/box2d"] + path = Vendor/box2d + url = https://github.com/erincatto/box2d +[submodule "Vendor/freetype"] + path = Vendor/freetype + url = https://github.com/freetype/freetype diff --git a/Src/IAEngine/CMakeLists.txt b/Src/IAEngine/CMakeLists.txt index eeb9b51..bf99e7e 100644 --- a/Src/IAEngine/CMakeLists.txt +++ b/Src/IAEngine/CMakeLists.txt @@ -40,4 +40,4 @@ target_include_directories(IAEngine PUBLIC inc/) target_include_directories(IAEngine PRIVATE imp/hpp) target_link_libraries(IAEngine PUBLIC IACore ImGui glm::glm) -target_link_libraries(IAEngine PRIVATE SDL3::SDL3 SDL3_mixer::SDL3_mixer) +target_link_libraries(IAEngine PRIVATE SDL3::SDL3 SDL3_mixer::SDL3_mixer box2d RmlUi::RmlUi) diff --git a/Vendor/CMakeLists.txt b/Vendor/CMakeLists.txt index 08c0d8d..4a84221 100644 --- a/Vendor/CMakeLists.txt +++ b/Vendor/CMakeLists.txt @@ -1,4 +1,4 @@ -# ----------------------------------------------- +#----------------------------------------------- # SDL3 # ----------------------------------------------- set(SDL_TEST_LIBRARY OFF) @@ -41,3 +41,20 @@ target_include_directories( # GLM # ----------------------------------------------- add_subdirectory(glm/) + +# ----------------------------------------------- +# FreeType +# ----------------------------------------------- +add_subdirectory(freetype/) + +add_library(Freetype::Freetype ALIAS freetype) + +# ----------------------------------------------- +# RmlUI +# ----------------------------------------------- +add_subdirectory(RmlUI/) + +# ----------------------------------------------- +# Box2D +# ----------------------------------------------- +add_subdirectory(box2d/) diff --git a/Vendor/RmlUi b/Vendor/RmlUi new file mode 160000 index 0000000..5556ac7 --- /dev/null +++ b/Vendor/RmlUi @@ -0,0 +1 @@ +Subproject commit 5556ac74c5e2e76ed09e1305a891fdd7fff7f7ef diff --git a/Vendor/box2d b/Vendor/box2d new file mode 160000 index 0000000..f86d182 --- /dev/null +++ b/Vendor/box2d @@ -0,0 +1 @@ +Subproject commit f86d1827eb7c060b4a32d311b84e3987c154e293 diff --git a/Vendor/freetype b/Vendor/freetype new file mode 160000 index 0000000..41eab7e --- /dev/null +++ b/Vendor/freetype @@ -0,0 +1 @@ +Subproject commit 41eab7e66dfc5c2a5ca8c09790e42a77b049ecd6