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 # http://kdesvn.alwins-world.de/ # 0004 # # 0005 # This program is free software; you can redistribute it and/or modify # 0006 # it under the terms of the GNU General Public License as published by # 0007 # the Free Software Foundation; either version 2 of the License, or # 0008 # (at your option) any later version. # 0009 # # 0010 # This program is distributed in the hope that it will be useful, # 0011 # but WITHOUT ANY WARRANTY; without even the implied warranty of # 0012 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # 0013 # GNU General Public License for more details. # 0014 # # 0015 # You should have received a copy of the GNU General Public License # 0016 # along with this program; if not, write to the # 0017 # Free Software Foundation, Inc., # 0018 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # 0019 #### 0020 0021 kconfig_add_kcfg_files(cfgsrc 0022 kdesvnsettings.kcfgc) 0023 add_library(kdesvncfgreader STATIC ${cfgsrc}) 0024 target_link_libraries(kdesvncfgreader 0025 KF5::ConfigGui 0026 ) 0027 0028 ki18n_wrap_ui(settings_ui_sources 0029 cmdexecsettings.ui 0030 diffmergesettings.ui 0031 dispcolor_settings.ui 0032 display_settings.ui 0033 polling_settings.ui 0034 revisiontree_settings.ui 0035 subversion_settings.ui 0036 ) 0037 0038 set(settings_sources 0039 cmdexecsettings_impl.cpp 0040 diffmergesettings_impl.cpp 0041 dispcolorsettings_impl.cpp 0042 displaysettings_impl.cpp 0043 polling_settings_impl.cpp 0044 revisiontreesettingsdlg_impl.cpp 0045 subversionsettings_impl.cpp 0046 ) 0047 0048 file(GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h") 0049 0050 add_library(settingsdlgs STATIC ${settings_ui_sources} ${settings_sources} ${hdr}) 0051 target_link_libraries(settingsdlgs 0052 PRIVATE 0053 kdesvncfgreader 0054 PUBLIC 0055 KF5::WidgetsAddons 0056 KF5::Completion 0057 KF5::I18n 0058 ) 0059 target_include_directories(settingsdlgs 0060 PUBLIC 0061 ${CMAKE_CURRENT_SOURCE_DIR}/../ 0062 ${CMAKE_CURRENT_BINARY_DIR}/../ 0063 ) 0064 0065 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/kdesvn_part.kcfg DESTINATION ${KCFG_INSTALL_DIR}) 0066 0067 install( 0068 FILES 0069 ${CMAKE_CURRENT_SOURCE_DIR}/kdesvnpartrc-use-external.upd 0070 DESTINATION 0071 ${DATA_INSTALL_DIR}/kconf_update 0072 ) 0073 0074 install( 0075 FILES 0076 ${CMAKE_CURRENT_SOURCE_DIR}/kdesvn-use-external-update.sh 0077 DESTINATION 0078 ${DATA_INSTALL_DIR}/kconf_update 0079 PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ 0080 )