qt6windows7/tests/manual/rhi/shared/imgui/imgui.cmakeinc

30 lines
681 B
Plaintext
Raw Normal View History

2023-11-02 05:23:55 +08:00
set(imgui_sources
${imgui_base}/imgui/imgui.cpp
${imgui_base}/imgui/imgui_draw.cpp
${imgui_base}/imgui/imgui_tables.cpp
${imgui_base}/imgui/imgui_widgets.cpp
${imgui_base}/imgui/imgui_demo.cpp
${imgui_base}/qrhiimgui.cpp
${imgui_base}/qrhiimgui_p.h
)
target_sources(${imgui_target} PRIVATE
${imgui_sources}
)
target_include_directories(${imgui_target} PRIVATE
${imgui_base}
${imgui_base}/imgui
)
qt6_add_resources(${imgui_target} "imgui_resources"
PREFIX
"/"
BASE
${imgui_base}
FILES
${imgui_base}/imgui.vert.qsb
${imgui_base}/imgui.frag.qsb
${imgui_base}/fonts/RobotoMono-Medium.ttf
)