summaryrefslogtreecommitdiffstats
path: root/kverbos
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-06-27 16:35:25 +0200
committerSlávek Banko <[email protected]>2019-06-28 13:45:47 +0200
commitaca01d5a8b7d3de53fa34696e18c91db720a5ab6 (patch)
tree6b9b83c599cc5db58df8041ca5cf812e00bbd25e /kverbos
parent88af19c041ad4f1139f6f0a35cd1a4fe2018425f (diff)
downloadtdeedu-aca01d5a8b7d3de53fa34696e18c91db720a5ab6.tar.gz
tdeedu-aca01d5a8b7d3de53fa34696e18c91db720a5ab6.zip
Conversion to the cmake building system.
Add includes to UI files to resolve FTBFS. Signed-off-by: gregory guy <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit d4a1613e9f119ae68c695ab60f8d9856d1a54a52)
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( )