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     KF${QT_MAJOR_VERSION}::I18n
0020     KF${QT_MAJOR_VERSION}::CoreAddons
0021     KF${QT_MAJOR_VERSION}::ConfigCore
0022     KF${QT_MAJOR_VERSION}::ConfigGui
0023     KF${QT_MAJOR_VERSION}::ItemModels)
0024 
0025 if (NOT ANDROID)
0026     target_link_libraries(${CMAKE_PROJECT_NAME} Qt::Widgets KF${QT_MAJOR_VERSION}::DBusAddons KF${QT_MAJOR_VERSION}::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})