You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.5 KiB
55 lines
1.5 KiB
#################################################
|
|
#
|
|
# (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}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../srvloc
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../libvncserver
|
|
${CMAKE_BINARY_DIR}
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
)
|
|
|
|
|
|
##### other data ################################
|
|
|
|
tde_install_icons( krfb )
|
|
install( FILES krfb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
install( FILES eyes-open24.png eyes-closed24.png connection-side-image.png DESTINATION ${DATA_INSTALL_DIR}/krfb/pics )
|
|
install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/krfb )
|
|
install( FILES kinetd_krfb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|
|
##### krfb (executable) #########################
|
|
|
|
tde_add_executable( krfb AUTOMOC
|
|
SOURCES
|
|
rfbcontroller.cc xupdatescanner.cc main.cpp connectionwidget.ui
|
|
krfbifaceimpl.cc krfbiface.skel trayicon.cpp connectiondialog.cc
|
|
LINK
|
|
krfbconfig-static vncserver-static srvloc-static tdeui-shared kio-shared jpeg Xext pthread ${XTST_LIBRARIES}
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
)
|
|
|
|
|
|
##### krfbconfig (static) #######################
|
|
|
|
tde_add_library( krfbconfig STATIC_PIC AUTOMOC
|
|
SOURCES
|
|
configuration.cc configuration.skel invitedialog.cc invitation.cc
|
|
manageinvitations.ui personalinvitewidget.ui invitewidget.ui
|
|
personalinvitedialog.cc
|
|
)
|