File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77[submodule "dep/imgui "]
88 path = dep/imgui
99 url = https://github.com/ocornut/imgui.git
10+ [submodule "dep/glm "]
11+ path = dep/glm
12+ url = https://github.com/g-truc/glm.git
Original file line number Diff line number Diff line change @@ -18,13 +18,15 @@ include(${PROJECT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake)
1818
1919set (CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION "." )
2020include (InstallRequiredSystemLibraries )
21+ add_subdirectory (dep/glm )
2122
2223set (SIMPLEGRAPHIC_SOURCES
2324 "config.h"
2425 "dep/stb/stb_image.h"
2526 "dep/stb/stb_image_resize.h"
2627 "dep/stb/stb_image_write.h"
2728 "engine/common/common.cpp"
29+ "engine/common.h"
2830 "engine/common/console.cpp"
2931 "engine/common/console.h"
3032 "engine/common/keylist.h"
@@ -137,6 +139,7 @@ target_compile_definitions(imgui PUBLIC
137139target_include_directories (imgui PUBLIC
138140 dep/imgui
139141 dep/imgui/backends
142+ dep/imgui/misc/cpp
140143)
141144
142145target_link_libraries (imgui PUBLIC
@@ -181,6 +184,7 @@ target_link_libraries(SimpleGraphic
181184 unofficial::angle::libGLESv2
182185 fmt::fmt
183186 glfw
187+ glm::glm
184188 imgui
185189 LuaJIT::LuaJIT
186190 re2::re2
You can’t perform that action at this time.
0 commit comments