summaryrefslogtreecommitdiffstats
path: root/kverbos
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-06-27 16:35:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-27 16:35:25 +0200
commitd4a1613e9f119ae68c695ab60f8d9856d1a54a52 (patch)
tree6de888ef76667e28c81832dc104c19b158859b9b /kverbos
parent9fb4e1ccde0b89b413bfdc8ae62f8178ecad5483 (diff)
downloadtdeedu-d4a1613e9f119ae68c695ab60f8d9856d1a54a52.tar.gz
tdeedu-d4a1613e9f119ae68c695ab60f8d9856d1a54a52.zip
Conversion to the cmake building system.
Add includes to UI files to resolve FTBFS. Signed-off-by: gregory guy <g-gregory@gmx.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kverbos')
-rw-r--r--kverbos/CMakeLists.txt1
-rw-r--r--kverbos/kverbos/CMakeLists.txt70
-rw-r--r--kverbos/kverbos/data/CMakeLists.txt1
-rw-r--r--kverbos/kverbos/data/de/CMakeLists.txt4
-rw-r--r--kverbos/kverbos/data/en/CMakeLists.txt4
-rw-r--r--kverbos/kverbos/icons/CMakeLists.txt1
6 files changed, 81 insertions, 0 deletions
diff --git a/kverbos/CMakeLists.txt b/kverbos/CMakeLists.txt
new file mode 100644
index 00000000..087bdf6b
--- /dev/null
+++ b/kverbos/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory( kverbos )
diff --git a/kverbos/kverbos/CMakeLists.txt b/kverbos/kverbos/CMakeLists.txt
new file mode 100644
index 00000000..84caaa76
--- /dev/null
+++ b/kverbos/kverbos/CMakeLists.txt
@@ -0,0 +1,70 @@
+add_subdirectory( icons )
+add_subdirectory( data )
+
+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}
+)
+
+
+##### kverbos (executable)
+
+tde_add_executable( kverbos AUTOMOC
+
+ SOURCES
+ qresult.ui
+ qerfassen.ui
+ qverbedit.ui
+ qverbosoptions.ui
+ qlernen.ui
+ kfeedercontrol.cpp
+ kresult.cpp
+ verbspanish.cpp
+ kverbosuser.cpp
+ kerfassen.cpp
+ kverbedit.cpp
+ kverbosoptions.cpp
+ kstartuplogo.cpp
+ kverbosview.cpp
+ kverbosdoc.cpp
+ kverbos.cpp
+ main.cpp
+ prefs.kcfgc
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES startuplogo.png
+ DESTINATION ${DATA_INSTALL_DIR}/kverbos/pics
+)
+
+install(
+ FILES kverbosui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kverbos
+)
+
+install(
+ FILES kverbos.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install(
+ FILES kverbos.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
diff --git a/kverbos/kverbos/data/CMakeLists.txt b/kverbos/kverbos/data/CMakeLists.txt
new file mode 100644
index 00000000..6d0aa9f3
--- /dev/null
+++ b/kverbos/kverbos/data/CMakeLists.txt
@@ -0,0 +1 @@
+tde_auto_add_subdirectories( )
diff --git a/kverbos/kverbos/data/de/CMakeLists.txt b/kverbos/kverbos/data/de/CMakeLists.txt
new file mode 100644
index 00000000..c16790e7
--- /dev/null
+++ b/kverbos/kverbos/data/de/CMakeLists.txt
@@ -0,0 +1,4 @@
+install(
+ FILES verbos.verbos
+ DESTINATION ${DATA_INSTALL_DIR}/kverbos/data/de
+)
diff --git a/kverbos/kverbos/data/en/CMakeLists.txt b/kverbos/kverbos/data/en/CMakeLists.txt
new file mode 100644
index 00000000..ee194c9c
--- /dev/null
+++ b/kverbos/kverbos/data/en/CMakeLists.txt
@@ -0,0 +1,4 @@
+install(
+ FILES verbos.verbos
+ DESTINATION ${DATA_INSTALL_DIR}/kverbos/data/en
+)
diff --git a/kverbos/kverbos/icons/CMakeLists.txt b/kverbos/kverbos/icons/CMakeLists.txt
new file mode 100644
index 00000000..63f765b3
--- /dev/null
+++ b/kverbos/kverbos/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )