Warning, /plasma/libplasma/src/declarativeimports/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_subdirectory(core) 0002 add_subdirectory(plasmaextracomponents) 0003 add_subdirectory(kirigamiplasmastyle) 0004 0005 set(QQC2_VERSION "6.${Qt6Quick_VERSION_MINOR}") 0006 0007 # Find all the source qml files 0008 FILE(GLOB_RECURSE inFiles RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" 0009 "${CMAKE_CURRENT_SOURCE_DIR}/plasmacomponents3/*") 0010 0011 #for each file, replace @QQC2_VERSION@ with the version we found 0012 FOREACH(infileName ${inFiles}) 0013 configure_file( 0014 "${CMAKE_CURRENT_SOURCE_DIR}/${infileName}" 0015 "${CMAKE_CURRENT_BINARY_DIR}/${infileName}" 0016 @ONLY 0017 ) 0018 ENDFOREACH(infileName) 0019 0020 ecm_add_qml_module(org_kde_plasmacomponents3 URI "org.kde.plasma.components" VERSION 3.0 NO_PLUGIN) 0021 file(GLOB _public_qml "${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/*.qml") 0022 ecm_target_qml_sources(org_kde_plasmacomponents3 VERSION 3.0 SOURCES ${_public_qml}) 0023 file(GLOB _mobiletextselection_qml "${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/mobiletextselection/*.qml" "${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/mobiletextselection/qmldir") 0024 ecm_target_qml_sources(org_kde_plasmacomponents3 VERSION 3.0 PATH mobiletextselection SOURCES ${_mobiletextselection_qml}) 0025 file(GLOB _private_qml "${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/private/*.qml") 0026 ecm_target_qml_sources(org_kde_plasmacomponents3 VERSION 3.0 PATH private SOURCES ${_private_qml}) 0027 ecm_finalize_qml_module(org_kde_plasmacomponents3 DESTINATION ${KDE_INSTALL_QMLDIR})