summaryrefslogtreecommitdiffstats
path: root/katapult/katapult/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-02-14 15:44:24 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-17 12:51:34 +0100
commit664a1607314023d497531dca30618eb6e32efd65 (patch)
treecdc633cffd13e487a3c16bed2f9d52607d82674f /katapult/katapult/CMakeLists.txt
parentdcd4d75b33f14331c72c1ce9ea551f9d2e48218c (diff)
downloadkatapult-664a1607314023d497531dca30618eb6e32efd65.tar.gz
katapult-664a1607314023d497531dca30618eb6e32efd65.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 7a10077e8260148faa37d5a91e76135e1341e4c1)
Diffstat (limited to 'katapult/katapult/CMakeLists.txt')
-rw-r--r--katapult/katapult/CMakeLists.txt49
1 files changed, 49 insertions, 0 deletions
diff --git a/katapult/katapult/CMakeLists.txt b/katapult/katapult/CMakeLists.txt
new file mode 100644
index 0000000..7a98783
--- /dev/null
+++ b/katapult/katapult/CMakeLists.txt
@@ -0,0 +1,49 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/common
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### katapult (executable)
+
+tde_add_executable( ${PROJECT_NAME} AUTOMOC
+
+ SOURCES
+ confgeneral.ui
+ confcatalogs.ui
+ confdisplay.ui
+ main.cpp
+ katapult.cpp
+ katapultsettings.cpp
+ katapultconfigdlg.cpp
+ katapultiface.skel
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ ${PROJECT_NAME}-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( ${PROJECT_NAME} )
+
+
+##### other data
+
+install(
+ FILES ${PROJECT_NAME}.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)