Skip to content

Commit

Permalink
Add imgui_test_engine as a submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Sep 27, 2023
1 parent c5c42f2 commit 834c2cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "external/ios-cmake"]
path = hello_imgui_cmake/ios-cmake
url = https://github.com/leetal/ios-cmake.git
[submodule "external/imgui_test_engine"]
path = external/imgui_test_engine
url = https://github.com/ocornut/imgui_test_engine.git
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ endif()
# Options / ImGui Test Engine
#------------------------------------------------------------------------------
option(HELLOIMGUI_WITH_TEST_ENGINE "Provide ImGui Test engine" OFF)
set(IMGUI_TEST_ENGINE_BASEPATH ${CMAKE_CURRENT_LIST_DIR}/../imgui_test_engine CACHE STRING "path to imgui_test_engine")
# By default we use imgui_test_engine from the submodule at external/imgui_test_engine/
set(IMGUI_TEST_ENGINE_BASEPATH ${CMAKE_CURRENT_LIST_DIR}/external/imgui_test_engine CACHE STRING "path to imgui_test_engine")

#------------------------------------------------------------------------------
# Esmcripten build options
Expand Down
1 change: 1 addition & 0 deletions external/imgui_test_engine
Submodule imgui_test_engine added at af32f4
2 changes: 0 additions & 2 deletions src/hello_imgui_test_engine_integration/todo_test.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
submodule test_engine or not ? (warning; includes implot) / 9.8M (sur 126M)

check uses of HELLOIMGUI_WITH_TEST_ENGINE vs IMGUI_ENABLE_TEST_ENGINE

Config:
Expand Down

0 comments on commit 834c2cc

Please sign in to comment.