Warning, /sdk/kdesvn/src/settings/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 kconfig_add_kcfg_files(cfgsrc
0021     kdesvnsettings.kcfgc)
0022 add_library(kdesvncfgreader STATIC ${cfgsrc})
0023 target_link_libraries(kdesvncfgreader
0024     KF5::ConfigGui
0025 )
0026 
0027 ki18n_wrap_ui(settings_ui_sources
0028     cmdexecsettings.ui
0029     diffmergesettings.ui
0030     dispcolor_settings.ui
0031     display_settings.ui
0032     polling_settings.ui
0033     revisiontree_settings.ui
0034     subversion_settings.ui
0035 )
0036 
0037 set(settings_sources
0038     cmdexecsettings_impl.cpp
0039     diffmergesettings_impl.cpp
0040     dispcolorsettings_impl.cpp
0041     displaysettings_impl.cpp
0042     polling_settings_impl.cpp
0043     revisiontreesettingsdlg_impl.cpp
0044     subversionsettings_impl.cpp
0045     )
0046 
0047 file(GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")
0048 
0049 add_library(settingsdlgs STATIC ${settings_ui_sources} ${settings_sources} ${hdr})
0050 target_link_libraries(settingsdlgs
0051     PRIVATE
0052         kdesvncfgreader
0053     PUBLIC
0054         KF5::WidgetsAddons
0055         KF5::Completion
0056         KF5::I18n
0057 )
0058 target_include_directories(settingsdlgs
0059     PUBLIC
0060         ${CMAKE_CURRENT_SOURCE_DIR}/../
0061         ${CMAKE_CURRENT_BINARY_DIR}/../
0062 )
0063 
0064 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/kdesvn_part.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
0065