Warning, /system/mycroft-gui/import/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 project(mycroftimport)
0002 
0003 set(mycroftimport_SRCS
0004     mycroftplugin.cpp
0005     mycroftcontroller.cpp
0006     activeskillsmodel.cpp
0007     delegatesmodel.cpp
0008     abstractskillview.cpp
0009     abstractdelegate.cpp
0010     sessiondatamap.cpp
0011     sessiondatamodel.cpp
0012     globalsettings.cpp
0013     filereader.cpp
0014     audiorec.cpp
0015     mediaservice.cpp
0016     mediaproviders/videoproviderservice.cpp
0017     mediaproviders/audioproviderservice.cpp
0018     mediaproviders/audiostreamdevice.cpp
0019     mediaproviders/thirdparty/fftcalc.cpp
0020     mediaproviders/thirdparty/fft.cpp
0021     )
0022 
0023 configure_file(controllerconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/controllerconfig.h)
0024 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0025 
0026 qt6_add_resources(mycroftimport_SRCS mycroft.qrc)
0027 
0028 add_library(mycroftplugin SHARED ${mycroftimport_SRCS} ${RESOURCES})
0029 
0030 if (CMAKE_SYSTEM_NAME STREQUAL "Android")
0031     set(mycroftplugin_EXTRA_LIBS
0032         Qt6::TextToSpeech
0033     )
0034 endif()
0035 
0036 target_link_libraries(mycroftplugin
0037         PUBLIC
0038             Qt6::Core
0039             Qt6::Multimedia
0040             ${mycroftplugin_EXTRA_LIBS}
0041         PRIVATE
0042             Qt6::Qml
0043             Qt6::Quick
0044             Qt6::Network
0045             Qt6::WebSockets
0046     )
0047 
0048 install(TARGETS mycroftplugin DESTINATION ${KDE_INSTALL_QMLDIR}/Mycroft)
0049 
0050 install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/Mycroft)
0051 install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/Mycroft)
0052 install(FILES plugins.qmltypes DESTINATION ${KDE_INSTALL_QMLDIR}/Mycroft)