39 lines
611 B
CMake
39 lines
611 B
CMake
add_executable(kirigami-hello)
|
|
|
|
ecm_add_qml_module(kirigami-hello
|
|
URI
|
|
org.kde.tutorial
|
|
)
|
|
|
|
target_sources(kirigami-hello
|
|
PRIVATE
|
|
main.cpp
|
|
conf.cpp conf.h
|
|
usb_thingy.cpp usb_thingy.h
|
|
a811.cpp a811.h
|
|
le_buttons.cpp
|
|
)
|
|
|
|
ecm_target_qml_sources(kirigami-hello
|
|
SOURCES
|
|
Main.qml
|
|
action.qml
|
|
)
|
|
|
|
target_link_libraries(kirigami-hello
|
|
PRIVATE
|
|
Qt6::Core
|
|
Qt6::Quick
|
|
Qt6::Qml
|
|
Qt6::Gui
|
|
Qt6::QuickControls2
|
|
Qt6::Widgets
|
|
KF6::I18n
|
|
KF6::CoreAddons
|
|
KF6::IconThemes
|
|
usb-1.0
|
|
)
|
|
|
|
install(TARGETS kirigami-hello ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|