diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-04-09 18:02:42 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-04-12 12:56:08 +0200 |
commit | f3533e05cc3be74c3ccb501cf2c349a4d709bfdb (patch) | |
tree | b87790bb7fe5e8b32aa32362b5b292222211cc3e /src/CMakeLists.txt | |
parent | 57275882609019dfe1b667f2521e5e2407975c4e (diff) | |
download | kasablanca-f3533e05cc3be74c3ccb501cf2c349a4d709bfdb.tar.gz kasablanca-f3533e05cc3be74c3ccb501cf2c349a4d709bfdb.zip |
conversion to the cmake building system
Removed cpp files generated from ui files.
This resolves issue #1.
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f92c11dfdcde621a6b7384bcf867b87cdb14280c)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..acff4ad --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,68 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${OPENSSL_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kasablanca (executable) + +tde_add_executable( ${PROJECT_NAME} AUTOMOC + + SOURCES + kbconfig.kcfgc + Q_bookmarkdialog.ui Q_fileexistsdialog.ui + Q_mainwindow.ui Q_colorspreferencesdialog.ui + Q_userinterfacepreferencesdialog.ui + Q_generalpreferencesdialog.ui + Q_customconnectdialog.ui Q_importdialog.ui + main.cpp kasablanca.cpp + bookmarkdialog.cpp customconnectdialog.cpp + fileexistsdialog.cpp kbitem.cpp + eventhandler.cpp ftpthread.cpp + ftplib.cpp ftpsession.cpp + kbfileinfo.cpp kbdirinfo.cpp + kbdir.cpp kbfile.cpp + kbtransferitem.cpp kbtransferdir.cpp + kbtransferfile.cpp kbtaskview.cpp + kbbookmarkitem.cpp kbsiteinfo.cpp + importdialog.cpp kbstatustip.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + ${OPENSSL_LIBRARIES} + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ${PROJECT_NAME} ) + + +##### other data + +install( + FILES kasablancaui.rc about.png + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +install( + FILES ${PROJECT_NAME}.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES kbconfig.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) |