summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-18 20:59:45 +0200
committerSlávek Banko <[email protected]>2016-09-18 21:00:00 +0200
commit1404d26a1e72b9e29f460fe828d42af57d925a99 (patch)
treed67a20b74852662a123da6c6d537d6c84820bad6 /src/core
parente92dc6bf694aea0048ea774c3226a135cd61b6ff (diff)
downloadtellico-1404d26a1e72b9e29f460fe828d42af57d925a99.tar.gz
tellico-1404d26a1e72b9e29f460fe828d42af57d925a99.zip
Initial cmake conversion
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 3f7006b6807add37a3de957c525600a31424a498)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
new file mode 100644
index 0000000..7b4bf09
--- /dev/null
+++ b/src/core/CMakeLists.txt
@@ -0,0 +1,56 @@
+#################################################
+#
+# (C) 2016 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### core (static) #############################
+
+set( target core )
+
+set( ${target}_SRCS
+ dcopinterface.cpp dcopinterface.skel drophandler.cpp
+ netaccess.cpp tellico_config.kcfgc tellico_config_addons.cpp
+)
+
+tde_save( KDE3_DCOPIDL_EXECUTABLE )
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+kde3_add_dcop_skels( ${target}_SRCS )
+tde_restore( KDE3_DCOPIDL_EXECUTABLE )
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES ${${target}_SRCS}
+)
+
+
+##### other data ################################
+install(
+ FILES tellico_config.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
+install(
+ FILES tellico-rename.upd tellico.upd
+ DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
+)
+install(
+ PROGRAMS tellico-1-3-update.pl
+ DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update
+)