Show invite menu in wlm chat window immediately
[kdenetwork.git] / krdc / CMakeLists.txt
bloba7383f2b8e86b0c706023a80ecbc9d24295d2a3e
2 project(krdc)
4 include_directories(
5     ${CMAKE_CURRENT_SOURCE_DIR}
6     ${CMAKE_CURRENT_SOURCE_DIR}/core/
7     ${CMAKE_CURRENT_BINARY_DIR}/core/
8     ${CMAKE_CURRENT_BINARY_DIR}
11 add_subdirectory(core)
12 add_subdirectory(vnc)
13 add_subdirectory(nx)
14 add_subdirectory(rdp)
15 add_subdirectory(test)
17 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=5010)
19 add_definitions(-DBUILD_ZEROCONF)
20 set(krdc_zeroconf_SRCS
21     zeroconf/zeroconfpage.cpp
24 set(krdc_SRCS ${krdc_zeroconf_SRCS}
25     config/hostpreferenceslist.cpp
26     config/preferencesdialog.cpp
27     floatingtoolbar.cpp
28     bookmarkmanager.cpp
29     remotedesktopsitem.cpp
30     remotedesktopsmodel.cpp
31     systemtrayicon.cpp
32     mainwindow.cpp
33     main.cpp
36 kde4_add_ui_files(krdc_SRCS
37     config/general.ui
40 kde4_add_executable(krdc ${krdc_SRCS})
42 target_link_libraries(krdc
43     ${KDE4_KFILE_LIBS}
44     ${KDE4_KNOTIFYCONFIG_LIBS}
45     ${KDE4_KUTILS_LIBS}
46     krdccore
49 target_link_libraries(krdc ${KDE4_KDNSSD_LIBS})
51 install(TARGETS krdc ${INSTALL_TARGETS_DEFAULT_ARGS})
52 install(FILES krdcui.rc DESTINATION ${DATA_INSTALL_DIR}/krdc)
53 install(FILES krdc.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
54 install(FILES pointcursor.png pointcursormask.png DESTINATION ${DATA_INSTALL_DIR}/krdc/pics)