2023-03-07 15:15:34 +00:00
|
|
|
qt_internal_add_manual_test(imguirenderer
|
|
|
|
GUI
|
|
|
|
SOURCES
|
|
|
|
imguirenderer.cpp
|
2023-04-13 07:38:02 +00:00
|
|
|
LIBRARIES
|
2023-03-07 15:15:34 +00:00
|
|
|
Qt::Gui
|
|
|
|
Qt::GuiPrivate
|
|
|
|
)
|
|
|
|
|
|
|
|
set_source_files_properties("../shared/texture.vert.qsb"
|
|
|
|
PROPERTIES QT_RESOURCE_ALIAS "texture.vert.qsb"
|
|
|
|
)
|
|
|
|
set_source_files_properties("../shared/texture.frag.qsb"
|
|
|
|
PROPERTIES QT_RESOURCE_ALIAS "texture.frag.qsb"
|
|
|
|
)
|
|
|
|
set_source_files_properties("../shared/qt256.png"
|
|
|
|
PROPERTIES QT_RESOURCE_ALIAS "qt256.png"
|
|
|
|
)
|
|
|
|
qt_internal_add_resource(imguirenderer "imguirenderer"
|
|
|
|
PREFIX
|
|
|
|
"/"
|
|
|
|
FILES
|
|
|
|
"../shared/texture.vert.qsb"
|
|
|
|
"../shared/texture.frag.qsb"
|
|
|
|
"../shared/qt256.png"
|
|
|
|
)
|
|
|
|
|
|
|
|
set(imgui_base ../shared/imgui)
|
|
|
|
set(imgui_target imguirenderer)
|
|
|
|
include(${imgui_base}/imgui.cmakeinc)
|