diff options
Diffstat (limited to 'krfb/krfb')
-rw-r--r-- | krfb/krfb/CMakeLists.txt | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/krfb/krfb/CMakeLists.txt b/krfb/krfb/CMakeLists.txt new file mode 100644 index 00000000..e95276e1 --- /dev/null +++ b/krfb/krfb/CMakeLists.txt @@ -0,0 +1,54 @@ +################################################# +# +# (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 kdeui-shared kio-shared ${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 +) |