Warning, /system/kup/filedigger/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020 Simon Persson <simon.persson@mykolab.com>
0002 #
0003 # SPDX-License-Identifier: GPL-2.0-or-later
0004 
0005 include_directories("../daemon")
0006 include_directories("../kcm")
0007 include_directories("../kioworker")
0008 include_directories("../settings")
0009 
0010 set(filedigger_SRCS
0011 filedigger.cpp
0012 main.cpp
0013 mergedvfs.cpp
0014 mergedvfsmodel.cpp
0015 restoredialog.cpp
0016 restorejob.cpp
0017 versionlistdelegate.cpp
0018 versionlistmodel.cpp
0019 ../kioworker/vfshelpers.cpp
0020 ../kcm/dirselector.cpp
0021 ../settings/kuputils.cpp
0022 )
0023 
0024 ecm_qt_declare_logging_category(filedigger_SRCS
0025     HEADER kupfiledigger_debug.h
0026     IDENTIFIER KUPFILEDIGGER
0027     CATEGORY_NAME kup.filedigger
0028     DEFAULT_SEVERITY Warning
0029     EXPORT kup
0030     DESCRIPTION "Kup Filedigger"
0031 )
0032 
0033 add_definitions(-fexceptions)
0034 
0035 ki18n_wrap_ui(filedigger_SRCS restoredialog.ui)
0036 add_executable(kup-filedigger ${filedigger_SRCS})
0037 target_link_libraries(kup-filedigger
0038 Qt::Core
0039 Qt::Gui
0040 KF${QT_MAJOR_VERSION}::KIOCore
0041 KF${QT_MAJOR_VERSION}::KIOFileWidgets
0042 KF${QT_MAJOR_VERSION}::I18n
0043 KF${QT_MAJOR_VERSION}::JobWidgets
0044 KF${QT_MAJOR_VERSION}::WidgetsAddons
0045 KF${QT_MAJOR_VERSION}::XmlGui
0046 LibGit2::LibGit2
0047 )
0048 
0049 ########### install files ###############
0050 install(TARGETS kup-filedigger ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})