Warning, /office/skrooge/plugins/generic/skg_monthly/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 #***************************************************************************
0002 #* SPDX-FileCopyrightText: 2022 S. MANKOWSKI stephane@mankowski.fr
0003 #* SPDX-FileCopyrightText: 2022 G. DE BURE support@mankowski.fr
0004 #* SPDX-License-Identifier: GPL-3.0-or-later
0005 #***************************************************************************
0006 MESSAGE( STATUS "..:: CMAKE PLUGIN_MONTHLY ::..")
0007
0008 PROJECT(plugin_monthly)
0009
0010 IF(SKG_WEBENGINE)
0011 MESSAGE( STATUS " Mode WebEngine")
0012 ADD_DEFINITIONS(-DSKG_WEBENGINE=${SKG_WEBENGINE})
0013 ENDIF(SKG_WEBENGINE)
0014 IF(SKG_WEBKIT)
0015 MESSAGE( STATUS " Mode Webkit")
0016 ADD_DEFINITIONS(-DSKG_WEBKIT=${SKG_WEBKIT})
0017 ENDIF(SKG_WEBKIT)
0018
0019 ADD_SUBDIRECTORY(grantlee_filters)
0020
0021 LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
0022
0023 SET(skg_monthly_SRCS
0024 skgmonthlyplugin.cpp
0025 skgmonthlypluginwidget.cpp)
0026
0027 ki18n_wrap_ui(skg_monthly_SRCS skgmonthlypluginwidget_base.ui)
0028
0029 KCOREADDONS_ADD_PLUGIN(skg_monthly SOURCES ${skg_monthly_SRCS} INSTALL_NAMESPACE "skg_gui" JSON "metadata.json")
0030 TARGET_LINK_LIBRARIES(skg_monthly KF5::Parts KF5::ItemViews KF5::NewStuff KF5::Archive Qt5::PrintSupport skgbasemodeler skgbasegui)
0031
0032 ########### install files ###############
0033 INSTALL(FILES ${PROJECT_SOURCE_DIR}/skg_monthly.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/skg_monthly )