diff options
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kcontrol/samba/CMakeLists.txt | 36 |
2 files changed, 37 insertions, 1 deletions
diff --git a/kcontrol/CMakeLists.txt b/kcontrol/CMakeLists.txt index 9362653f2..0bd7f3706 100644 --- a/kcontrol/CMakeLists.txt +++ b/kcontrol/CMakeLists.txt @@ -27,7 +27,6 @@ if( BUILD_KCONTROL ) add_subdirectory( bell ) add_subdirectory( dnssd ) add_subdirectory( filetypes ) - # add_subdirectory( samba ) add_subdirectory( krdb ) add_subdirectory( input ) add_subdirectory( kicker ) @@ -67,6 +66,7 @@ if( BUILD_KCONTROL ) add_subdirectory( kfontinst ) add_subdirectory( access ) + tde_conditional_add_subdirectory( WITH_SAMBA samba ) tde_conditional_add_subdirectory( WITH_XRANDR randr ) tde_conditional_add_subdirectory( WITH_LIBRAW1394 view1394 ) diff --git a/kcontrol/samba/CMakeLists.txt b/kcontrol/samba/CMakeLists.txt new file mode 100644 index 000000000..1358e0d53 --- /dev/null +++ b/kcontrol/samba/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES smbstatus.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + + +##### kcm_samba (module) ######################## + +tde_add_kpart( kcm_samba AUTOMOC + SOURCES + main.cpp ksmbstatus.cpp kcmsambaimports.cpp kcmsambalog.cpp + kcmsambastatistics.cpp + LINK kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) |