summaryrefslogtreecommitdiffstats
path: root/kxmleditor
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-05-08 14:46:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-09 15:16:44 +0200
commitafdfc9b17d1a626fecbfb3ac4c5828beea6fec47 (patch)
treec64bc7c5a059a02107c3c209b041c64010d15e4f /kxmleditor
parenta4fed294ff0451681fdba458429c7a1cbc1dbd1d (diff)
downloadkxmleditor-afdfc9b17d1a626fecbfb3ac4c5828beea6fec47.tar.gz
kxmleditor-afdfc9b17d1a626fecbfb3ac4c5828beea6fec47.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kxmleditor')
-rw-r--r--kxmleditor/CMakeLists.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/kxmleditor/CMakeLists.txt b/kxmleditor/CMakeLists.txt
new file mode 100644
index 0000000..5e8c6e3
--- /dev/null
+++ b/kxmleditor/CMakeLists.txt
@@ -0,0 +1,45 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kxmleditor (executable)
+
+tde_add_executable( ${PROJECT_NAME} AUTOMOC
+
+ SOURCES
+ dcopiface_shell.skel
+ dcopiface_shell.cpp
+ kxmleditorshell.cpp
+ main.cpp
+ kxeshellmanager.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+ tdeui-shared
+ tdeparts-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kxmleditorshell.rc
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
+)
+
+install(
+ FILES ${PROJECT_NAME}.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/Applications
+)