Warning, /utilities/powerplant/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: BSD-3-Clause
0002 # SPDX-FileCopyrightText: 2023 Mathis <mbb@kaidan.im>
0003 
0004 add_executable(powerplant
0005     main.cpp
0006     app.cpp
0007     database.cpp
0008     plantsmodel.cpp
0009     healthhistorymodel.cpp
0010     waterhistorymodel.cpp
0011     colorgradientinterpolator.cpp
0012     plantimagemodel.cpp
0013     planteditor.cpp
0014     resources.qrc
0015 )
0016 
0017 target_link_libraries(powerplant
0018     Qt::Core
0019     Qt::Gui
0020     Qt::Qml
0021     Qt::Quick
0022     Qt::QuickControls2
0023     Qt::Svg
0024     Qt::Widgets
0025     KF${QT_MAJOR_VERSION}::I18n
0026     KF${QT_MAJOR_VERSION}::CoreAddons
0027     KF${QT_MAJOR_VERSION}::ConfigCore
0028     KF${QT_MAJOR_VERSION}::ConfigGui
0029     FutureSQL${QT_MAJOR_VERSION}::FutureSQL
0030     QCoro${QT_MAJOR_VERSION}::Core)
0031 
0032 if (ANDROID)
0033     kirigami_package_breeze_icons(ICONS
0034         list-add
0035         help-about
0036         application-exit
0037         applications-graphics
0038     )
0039 endif()
0040 
0041 kconfig_add_kcfg_files(powerplant GENERATE_MOC powerplantconfig.kcfgc)
0042 install(TARGETS powerplant ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})