Warning, /plasma/kinfocenter/Modules/samba/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # KI18N Translation Domain for this library
0002 add_definitions(-DTRANSLATION_DOMAIN=\"kcm_samba\")
0003
0004 set(kcm_samba_PART_SRCS
0005 smbmountmodel.cpp
0006 ksambasharemodel.cpp
0007 smbmountmodel.h
0008 ksambasharemodel.h
0009 )
0010
0011 qt_add_dbus_interface(kcm_samba_PART_SRCS org.freedesktop.Avahi.Server.xml org.freedesktop.Avahi.Server)
0012
0013 # Intermediate lib for use in testing.
0014 add_library(kcm_samba_static STATIC ${kcm_samba_PART_SRCS})
0015 set_property(TARGET kcm_samba_static PROPERTY POSITION_INDEPENDENT_CODE ON)
0016 target_link_libraries(kcm_samba_static
0017 KF6::KIOCore
0018 KF6::Solid
0019 KF6::I18n
0020 KF6::KCMUtils
0021 KF6::KIOWidgets
0022 )
0023
0024 set(kcm_samba_SRCS main.cpp)
0025 qt_add_dbus_interface(kcm_samba_SRCS org.freedesktop.DBus.Properties.xml org.freedesktop.DBus.Properties)
0026 kinfocenter_add_kcm(kcm_samba SOURCES ${kcm_samba_SRCS} INSTALL_NAMESPACE "plasma/kcms/kinfocenter")
0027 target_link_libraries(kcm_samba PRIVATE
0028 KF6::KCMUtilsQuick
0029 kcm_samba_static
0030 )
0031
0032 add_subdirectory(autotests)