mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-02 00:32:24 +08:00
31 lines
760 B
CMake
31 lines
760 B
CMake
qt_internal_add_manual_test(imguirenderer
|
|
GUI
|
|
SOURCES
|
|
imguirenderer.cpp
|
|
LIBRARIES
|
|
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)
|