Warning, /graphics/kodaskanna/src/app/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org>
0002 #
0003 # SPDX-License-Identifier: BSD-3-Clause
0004 
0005 add_executable(kodaskanna)
0006 
0007 configure_file(config.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/config.hpp @ONLY)
0008 
0009 target_sources(kodaskanna PRIVATE
0010     main.cpp
0011     window.cpp
0012 )
0013 
0014 ki18n_wrap_ui(kodaskanna
0015     window.ui
0016 )
0017 
0018 target_link_libraries(kodaskanna
0019     kodaskannaimagesource
0020     kodaskannaplaintextpreview
0021     kodaskannaclipboardexport
0022     kodaskannafileexport
0023     kodaskannawidgets
0024     kodaskannacore
0025     KF5::CoreAddons
0026     KF5::I18n
0027     Qt${QT_MAJOR_VERSION}::Widgets
0028 )
0029 
0030 install(TARGETS kodaskanna ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0031 install(PROGRAMS org.kde.kodaskanna.desktop DESTINATION ${KDE_INSTALL_APPDIR})
0032 install(FILES org.kde.kodaskanna.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})