Added private libs to get rhi class QShaderBaker
This commit is contained in:
@@ -1,8 +1,34 @@
|
|||||||
|
find_package(
|
||||||
|
Qt6
|
||||||
|
REQUIRED COMPONENTS
|
||||||
|
Core
|
||||||
|
Gui
|
||||||
|
GuiPrivate
|
||||||
|
Widgets
|
||||||
|
Qml
|
||||||
|
Quick
|
||||||
|
QuickControls2
|
||||||
|
QuickTimeline
|
||||||
|
ShaderTools
|
||||||
|
ShaderToolsPrivate
|
||||||
|
Concurrent
|
||||||
|
)
|
||||||
|
|
||||||
|
find_package(
|
||||||
|
OpenGL REQUIRED COMPONENTS OpenGL
|
||||||
|
)
|
||||||
|
|
||||||
|
find_package(
|
||||||
|
Vulkan REQUIRED COMPONENTS glslang SPIRV-Tools
|
||||||
|
)
|
||||||
|
|
||||||
add_library(
|
add_library(
|
||||||
KomplexHubPlugin
|
KomplexHubPlugin
|
||||||
STATIC
|
STATIC
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_target_properties(KomplexHubPlugin PROPERTIES VERSION "1.0")
|
||||||
|
|
||||||
qt_add_qml_module(
|
qt_add_qml_module(
|
||||||
KomplexHubPlugin
|
KomplexHubPlugin
|
||||||
URI
|
URI
|
||||||
@@ -62,6 +88,7 @@ qt_add_qml_module(
|
|||||||
common/qwallet.cpp
|
common/qwallet.cpp
|
||||||
usermodel.h
|
usermodel.h
|
||||||
usermodel.cpp
|
usermodel.cpp
|
||||||
|
SOURCES
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_definitions(
|
target_compile_definitions(
|
||||||
@@ -73,8 +100,13 @@ target_compile_definitions(
|
|||||||
add_subdirectory(3rdparty/qtkeychain)
|
add_subdirectory(3rdparty/qtkeychain)
|
||||||
|
|
||||||
target_link_libraries(KomplexHubPlugin PRIVATE
|
target_link_libraries(KomplexHubPlugin PRIVATE
|
||||||
Qt${QT_VERSION_MAJOR}::Core
|
Qt6::Core
|
||||||
Qt${QT_VERSION_MAJOR}::Gui
|
Qt6::Concurrent
|
||||||
|
Qt6::Gui
|
||||||
|
Qt6::GuiPrivate
|
||||||
|
Qt6::ShaderTools
|
||||||
|
Qt6::ShaderToolsPrivate
|
||||||
|
Vulkan::Vulkan
|
||||||
qt6keychain
|
qt6keychain
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user