Warning, /office/skrooge/plugins/generic/skg_undoredo/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_UNDOREDO ::..")
0007 
0008 PROJECT(plugin_undoredo)
0009 
0010 LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
0011 
0012 SET(skg_undoredo_SRCS skgundoredoplugin.cpp skgundoredoplugindockwidget.cpp)
0013 
0014 ki18n_wrap_ui(skg_undoredo_SRCS skgundoredoplugindockwidget_base.ui skgundoredopluginwidget_pref.ui)
0015 
0016 kconfig_add_kcfg_files(skg_undoredo_SRCS skgundoredo_settings.kcfgc )
0017 
0018 KCOREADDONS_ADD_PLUGIN(skg_undoredo SOURCES ${skg_undoredo_SRCS} INSTALL_NAMESPACE "skg_gui" JSON "metadata.json")
0019 TARGET_LINK_LIBRARIES(skg_undoredo KF5::Parts skgbasemodeler skgbasegui)
0020 
0021 ########### install files ###############
0022 INSTALL(FILES ${PROJECT_SOURCE_DIR}/skgundoredo_settings.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR} )
0023 INSTALL(FILES ${PROJECT_SOURCE_DIR}/skg_undoredo.rc  DESTINATION  ${KDE_INSTALL_KXMLGUI5DIR}/skg_undoredo )