lib: add dearimgui lib

hud
EmaMaker 2023-09-18 16:03:30 +02:00
parent a6a419fdff
commit e7c4b2d56b
4 changed files with 7 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "lib/imgui"]
path = lib/imgui
url = https://github.com/ocornut/imgui/

View File

@ -1,2 +1,3 @@
add_subdirectory(glad)
add_subdirectory(glm)
add_subdirectory(glm)
add_subdirectory(imgui)

1
lib/imgui Submodule

@ -0,0 +1 @@
Subproject commit 6addf28c4b5d8fd109a6db73bed6436952b230b2

View File

@ -5,5 +5,5 @@ set(SOURCE_FILES main.cpp chunk.cpp chunkmanager.cpp chunkmesher.cpp chunkgenera
add_executable(OpenGLTest ${SOURCE_FILES})
target_link_libraries(OpenGLTest glfw tbb glad glm)
target_link_libraries(OpenGLTest glfw tbb glad glm imgui)
install(TARGETS OpenGLTest DESTINATION ${DIVISIBLE_INSTALL_BIN_DIR})