Skip to content

Commit

Permalink
_configure_imgui_with_test_engine: add options (instead of imconfig_w…
Browse files Browse the repository at this point in the history
…ith_test_engine.h)
  • Loading branch information
pthom committed Oct 1, 2023
1 parent 24a8bb5 commit 83da91a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 198 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ endfunction()

# ImGui uses imconfig from imconfig_with_test_engine.h (with options for imgui_test_engine)
function(_configure_imgui_with_test_engine)
target_compile_definitions(imgui PUBLIC IMGUI_USER_CONFIG="${CMAKE_CURRENT_FUNCTION_LIST_DIR}/imconfig_with_test_engine.h")
target_compile_definitions(imgui
PUBLIC
IMGUI_ENABLE_TEST_ENGINE
IMGUI_TEST_ENGINE_ENABLE_CAPTURE=1
IMGUI_TEST_ENGINE_ENABLE_STD_FUNCTION=1
IMGUI_TEST_ENGINE_ENABLE_COROUTINE_STDTHREAD_IMPL=1
)
# IMGUI_TEST_ENGINE_ENABLE_IMPLOT=0
# Link imgui_test_engine with imgui
target_link_libraries(imgui_test_engine PUBLIC imgui)
# any App built with ImGui should now also link with imgui_test_engine
Expand Down
197 changes: 0 additions & 197 deletions src/hello_imgui_test_engine_integration/imconfig_with_test_engine.h

This file was deleted.

0 comments on commit 83da91a

Please sign in to comment.