2022-02-25 19:03:09 +08:00
|
|
|
set(target_name ImGui)
|
2020-09-04 17:19:51 +08:00
|
|
|
|
|
|
|
include_directories(imgui)
|
|
|
|
|
|
|
|
set(HEADER
|
2022-02-25 19:03:09 +08:00
|
|
|
ImGuiPresenter.h
|
2020-09-04 17:19:51 +08:00
|
|
|
# CCImGuiColorTextEdit.h
|
2022-08-11 10:02:30 +08:00
|
|
|
imgui_impl_axys.h
|
2020-09-04 17:19:51 +08:00
|
|
|
imgui/imconfig.h
|
|
|
|
imgui/imgui.h
|
|
|
|
imgui/imgui_internal.h
|
|
|
|
imgui/imstb_rectpack.h
|
|
|
|
imgui/imstb_textedit.h
|
|
|
|
imgui/imstb_truetype.h
|
|
|
|
imgui/misc/cpp/imgui_stdlib.h
|
|
|
|
#~ imgui_markdown/imgui_markdown.h
|
|
|
|
#~ ImGuiColorTextEdit/TextEditor.h
|
|
|
|
#~ implot/implot.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(SOURCE
|
2022-02-25 19:03:09 +08:00
|
|
|
ImGuiPresenter.cpp
|
2020-09-04 17:19:51 +08:00
|
|
|
# CCImGuiColorTextEdit.cpp
|
2022-08-11 10:02:30 +08:00
|
|
|
imgui_impl_axys.cpp
|
2020-09-04 17:19:51 +08:00
|
|
|
imgui/imgui.cpp
|
|
|
|
imgui/imgui_demo.cpp
|
|
|
|
imgui/imgui_draw.cpp
|
|
|
|
imgui/imgui_widgets.cpp
|
2021-06-15 22:30:54 +08:00
|
|
|
imgui/imgui_tables.cpp
|
2020-09-04 17:19:51 +08:00
|
|
|
imgui/misc/cpp/imgui_stdlib.cpp
|
|
|
|
#~ ImGuiColorTextEdit/TextEditor.cpp
|
|
|
|
#~ implot/implot.cpp
|
|
|
|
#~ implot/implot_demo.cpp
|
|
|
|
)
|
|
|
|
|
2022-02-17 21:31:39 +08:00
|
|
|
#~ if(AX_ENABLE_EXT_LUA)
|
2020-09-04 17:19:51 +08:00
|
|
|
#~ include_directories(
|
|
|
|
#~ lua-bindings
|
2022-08-29 20:51:22 +08:00
|
|
|
#~ ${_AX_ROOT_PATH}/thirdparty/lua/luajit/include
|
|
|
|
#~ ${_AX_ROOT_PATH}/thirdparty/lua/tolua
|
2020-09-04 17:19:51 +08:00
|
|
|
#~ )
|
|
|
|
#~ list(APPEND HEADER
|
|
|
|
#~ lua-bindings/imgui_lua.hpp
|
|
|
|
#~ lua-bindings/lua_conversion.hpp
|
|
|
|
#~ lua-bindings/lua_imgui_auto.hpp
|
|
|
|
#~ lua-bindings/lua_imguiDrawList_auto.hpp
|
|
|
|
#~ lua-bindings/lua_imguiFont_auto.hpp
|
|
|
|
#~ lua-bindings/lua_imguiIO_auto.hpp
|
|
|
|
#~ lua-bindings/lua_imguiStyle_auto.hpp
|
|
|
|
#~ lua-bindings/lua_imguiViewport_auto.hpp
|
|
|
|
#~ lua-bindings/lua_ImGuiColorTextEdit_auto.hpp
|
|
|
|
#~ lua-bindings/lua_implot_auto.hpp
|
|
|
|
#~ )
|
|
|
|
#~ list(APPEND SOURCE
|
|
|
|
#~ lua-bindings/imgui_lua.cpp
|
|
|
|
#~ lua-bindings/lua_imguiDrawList_auto.cpp
|
|
|
|
#~ lua-bindings/lua_imguiFont_auto.cpp
|
|
|
|
#~ lua-bindings/lua_imguiIO_auto.cpp
|
|
|
|
#~ lua-bindings/lua_imguiStyle_auto.cpp
|
|
|
|
#~ lua-bindings/lua_imguiViewport_auto.cpp
|
|
|
|
#~ lua-bindings/lua_imgui_auto.cpp
|
|
|
|
#~ lua-bindings/lua_ImGuiColorTextEdit_auto.cpp
|
|
|
|
#~ lua-bindings/lua_implot_auto.cpp
|
|
|
|
#~ )
|
|
|
|
#~ endif()
|
2021-06-08 20:45:55 +08:00
|
|
|
|
2020-09-04 17:19:51 +08:00
|
|
|
add_library(${target_name} STATIC
|
|
|
|
${HEADER}
|
|
|
|
${SOURCE})
|
|
|
|
|
2022-08-11 15:41:10 +08:00
|
|
|
setup_ax_extension_config(${target_name})
|