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

0001 # SPDX-FileCopyrightText: 2022 Felipe Kinoshita <kinofhek@gmail.com>
0002 # SPDX-License-Identifier: BSD-2-Clause
0003 
0004 add_executable(${CMAKE_PROJECT_NAME}
0005     main.cpp
0006     about.cpp
0007     controller.cpp
0008     task.cpp
0009     tasksmodel.cpp
0010     resources.qrc)
0011 
0012 target_link_libraries(${CMAKE_PROJECT_NAME}
0013     Qt::Core
0014     Qt::Gui
0015     Qt::Qml
0016     Qt::Quick
0017     Qt::QuickControls2
0018     Qt::Svg
0019     KF5::I18n
0020     KF5::CoreAddons
0021     KF5::ConfigCore
0022     KF5::ConfigGui
0023     KF5::ItemModels)
0024 
0025 if (NOT ANDROID)
0026     target_link_libraries(${CMAKE_PROJECT_NAME} KF5::DBusAddons KF5::WindowSystem)
0027 else()
0028     kirigami_package_breeze_icons(ICONS
0029         entry-edit
0030         entry-delete
0031         edit-none
0032         edit-clear-all
0033         search
0034         help-about
0035         checkmark
0036         application-exit
0037         tools-report-bug
0038         help-about
0039     )
0040 endif()
0041 
0042 kconfig_add_kcfg_files(${CMAKE_PROJECT_NAME} GENERATE_MOC config.kcfgc)
0043 install(TARGETS ${CMAKE_PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})