Revision control
++ # Copyright (C) 2024 The Qt Company Ltd.
++ # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
++
++ set_source_files_properties(LightningViewConfig.qml MapTypeConfig.qml
++ PROPERTIES
++ QT_QML_SINGLETON_TYPE TRUE
++ )
++
++ qt_add_library(LightningViewerModule STATIC)
++
++ qt_add_qml_module(LightningViewerModule
++ URI LightningViewerModule
++ SOURCES
++ controller.h controller.cpp
++ laststrikeinfo.h
++ lightningitemdata.h lightningitemdata.cpp
++ lightningitemmodel.h lightningitemmodel.cpp
++ lightningprovider.h lightningprovider.cpp
++ QML_FILES
++ ActionsLayer.qml
++ DistanceTimeLayer.qml
++ LightningMapLayer.qml
++ LightningSplash.qml
++ LightningView.qml
++ LightningViewConfig.qml
++ Main.qml
++ MapLayersDrawer.qml
++ MapLayersItem.qml
++ MapTypeConfig.qml
++ MapView.qml
++ SwitchMap.qml
++ RESOURCES
++ icons/distance.svg
++ icons/globe.svg
++ icons/lightning-layer.svg
++ icons/lightning-strike.svg
++ icons/map-layers.svg
++ icons/map.svg
++ icons/recenter.svg
++ icons/user-location.svg
++ icons/lightning.png
++ )
++
++ if (TARGET Qt6::Lottie)
++ qt_target_qml_from_lottie(LightningViewerModule
++ CURVE_RENDERER
++ OPTIMIZE_PATHS
++ FILES icons/lightning.json
++ OUTPUTS LightningAnimation.qml)
++ endif()
++
++ target_link_libraries(LightningViewerModule PRIVATE
++ Qt6::Positioning
++ Qt6::Quick
++ Qt6::WebSockets
++ )