Warning, /pim/kube/components/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 project(kube-components) 0002 0003 find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Widgets) 0004 0005 macro(install_qml_component name) 0006 install(DIRECTORY ${name}/qml/ DESTINATION ${QML_INSTALL_DIR}/org/kube/components/${name}) 0007 install(FILES ${name}/qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/components/${name}) 0008 endmacro(install_qml_component) 0009 0010 install_qml_component(kube) 0011 add_subdirectory(kube/tests) 0012 install_qml_component(accounts) 0013 0014 0015 #Convert list to comma-separated and quoted list. 0016 set(_AVAILABLE_ACCOUNT_PLUGINS ${AVAILABLE_ACCOUNT_PLUGINS}) 0017 set(AVAILABLE_ACCOUNT_PLUGINS "") 0018 foreach(PLUGIN ${_AVAILABLE_ACCOUNT_PLUGINS}) 0019 set(AVAILABLE_ACCOUNT_PLUGINS "${AVAILABLE_ACCOUNT_PLUGINS}, \"${PLUGIN}\"") 0020 endforeach() 0021 string(SUBSTRING "${AVAILABLE_ACCOUNT_PLUGINS}" 2 -1 AVAILABLE_ACCOUNT_PLUGINS) 0022 0023 configure_file(accounts/AccountConfiguration.qml.in accounts/AccountConfiguration.qml) 0024 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/accounts/AccountConfiguration.qml DESTINATION ${QML_INSTALL_DIR}/org/kube/components/accounts)