Skip to content

Commit 9f7302c

Browse files
committed
removed submodule imgui for stability
1 parent b5c0e66 commit 9f7302c

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.gitmodules

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[submodule "imgui"]
2-
path = external/imgui
3-
url = https://github.com/ocornut/imgui.git
4-
branch = docking
51
[submodule "glfw"]
62
path = external/glfw
73
url = https://github.com/glfw/glfw.git

external/CMakeLists.txt

+15-5
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,26 @@ set(EIGEN_DOC_USE_MATHJAX OFF)
7575
add_subdirectory(eigen)
7676
set_property(TARGET eigen PROPERTY FOLDER "External/Eigen3")
7777

78+
# Imnodes configuration
79+
if ((NOT EXISTS imnodes) OR (NOT IS_DIRECTORY imnodes))
80+
message(STATUS "> Cloning imnodes from remote...")
81+
execute_process(
82+
COMMAND git submodule update --init imnodes
83+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
84+
)
85+
else()
86+
message(STATUS "> Found imnodes submodule folder")
87+
endif()
7888

79-
# Imgui configuration
80-
if ((NOT EXISTS imgui) OR (NOT IS_DIRECTORY imgui))
81-
message(STATUS "> Cloning imgui from remote...")
89+
# Implot configuration
90+
if ((NOT EXISTS implot) OR (NOT IS_DIRECTORY implot))
91+
message(STATUS "> Cloning implot from remote...")
8292
execute_process(
83-
COMMAND git submodule update --init imgui
93+
COMMAND git submodule update --init implot
8494
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
8595
)
8696
else()
87-
message(STATUS "> Found Imgui submodule folder")
97+
message(STATUS "> Found implot submodule folder")
8898
endif()
8999

90100
set(target_name imgui)

external/imgui

-1
This file was deleted.

0 commit comments

Comments
 (0)