Warning, /sdk/kdesvn/src/kdesvnd/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ####
0002 # Copyright (C) 2005-2009 by Rajko Albrecht ral@alwins-world.de #
0003 # #
0004 # This program is free software; you can redistribute it and/or modify #
0005 # it under the terms of the GNU General Public License as published by #
0006 # the Free Software Foundation; either version 2 of the License, or #
0007 # (at your option) any later version. #
0008 # #
0009 # This program is distributed in the hope that it will be useful, #
0010 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
0011 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
0012 # GNU General Public License for more details. #
0013 # #
0014 # You should have received a copy of the GNU General Public License #
0015 # along with this program; if not, write to the #
0016 # Free Software Foundation, Inc., #
0017 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #
0018 ####
0019
0020 file(GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")
0021
0022 set(kded_kdesvnd_src
0023 kdesvnd.cpp
0024 kdesvnd_listener.cpp
0025 ksvnjobview.cpp
0026 ${hdr}
0027 )
0028
0029 qt_add_dbus_adaptor( kded_kdesvnd_src org.kde.kdesvnd.xml kdesvnd.h kdesvnd)
0030
0031 kcoreaddons_add_plugin(kded_kdesvnd INSTALL_NAMESPACE "kf5/kded" SOURCES ${kded_kdesvnd_src})
0032 set_target_properties(kded_kdesvnd PROPERTIES
0033 OUTPUT_NAME kdesvnd
0034 )
0035
0036 target_link_libraries(kded_kdesvnd
0037 ksvnwidgets
0038 kdesvnhelpers
0039 kdesvncfgreader
0040 svnqt
0041 Qt::DBus
0042 KF5::DBusAddons
0043 KF5::Notifications
0044 )
0045
0046 install(FILES org.kde.kdesvnd.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} RENAME kf5_org.kde.kdesvnd.xml)
0047
0048 configure_file(org.kde.kdesvnd.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdesvnd.service)
0049 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdesvnd.service DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR})