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)
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
29 remotedesktopsitem.cpp
30 remotedesktopsmodel.cpp
36 kde4_add_ui_files(krdc_SRCS
40 kde4_add_executable(krdc ${krdc_SRCS})
42 target_link_libraries(krdc
44 ${KDE4_KNOTIFYCONFIG_LIBS}
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)