From 6b3181cf92f1fc74da1e8a82f690a1526cb4e900 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sun, 29 Mar 2020 19:41:28 +0200 Subject: Conversion to the cmake building system. Added several man pages taken from the Debian packaging. Cleanup headers in ui files. Add png icons for mono theme. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy cmake: - Use tde_add_check_executable instead of a combination of separate calls to tde_add_executable and add_test. - Simplify the detection of time.h and sys/time.h headers. - Refactor phrasebook files install, kmouth. Signed-off-by: Slávek Banko --- kmouth/wordcompletion/CMakeLists.txt | 30 ++++++++++++++++++++++++ kmouth/wordcompletion/creationsourcedetailsui.ui | 11 +++------ kmouth/wordcompletion/kdedocsourceui.ui | 8 +++---- kmouth/wordcompletion/wordcompletionui.ui | 14 ++++------- 4 files changed, 40 insertions(+), 23 deletions(-) create mode 100644 kmouth/wordcompletion/CMakeLists.txt (limited to 'kmouth/wordcompletion') diff --git a/kmouth/wordcompletion/CMakeLists.txt b/kmouth/wordcompletion/CMakeLists.txt new file mode 100644 index 0000000..295a8d0 --- /dev/null +++ b/kmouth/wordcompletion/CMakeLists.txt @@ -0,0 +1,30 @@ +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} +) + + +##### wordcompletion (static) + +tde_add_library( wordcompletion STATIC_PIC AUTOMOC + + SOURCES + wordcompletionui.ui + creationsourceui.ui + creationsourcedetailsui.ui + kdedocsourceui.ui + wordlist.cpp + wordcompletion.cpp + wordcompletionwidget.cpp + dictionarycreationwizard.cpp + klanguagebutton.cpp + klanguagebuttonhelper.cpp +) diff --git a/kmouth/wordcompletion/creationsourcedetailsui.ui b/kmouth/wordcompletion/creationsourcedetailsui.ui index 52aa8a7..1efd8bd 100644 --- a/kmouth/wordcompletion/creationsourcedetailsui.ui +++ b/kmouth/wordcompletion/creationsourcedetailsui.ui @@ -159,6 +159,9 @@ klanguagebutton.h klanguagebuttonhelper.h creationsourcedetailsui.ui.h + kurlrequester.h + kpushbutton.h + kcombobox.h class KLanguageButton @@ -173,12 +176,4 @@ init() - - kinputdialog.h - kpushbutton.h - kcombobox.h - kurlrequester.h - kinputdialog.h - kpushbutton.h - diff --git a/kmouth/wordcompletion/kdedocsourceui.ui b/kmouth/wordcompletion/kdedocsourceui.ui index c310fa1..91a410a 100644 --- a/kmouth/wordcompletion/kdedocsourceui.ui +++ b/kmouth/wordcompletion/kdedocsourceui.ui @@ -82,6 +82,9 @@ klanguagebutton.h klanguagebuttonhelper.h kdedocsourceui.ui.h + kurlrequester.h + klineedit.h + kpushbutton.h class KLanguageButton @@ -93,9 +96,4 @@ init() - - kurlrequester.h - klineedit.h - kpushbutton.h - diff --git a/kmouth/wordcompletion/wordcompletionui.ui b/kmouth/wordcompletion/wordcompletionui.ui index bc9cde5..c195cf0 100644 --- a/kmouth/wordcompletion/wordcompletionui.ui +++ b/kmouth/wordcompletion/wordcompletionui.ui @@ -266,6 +266,10 @@ klanguagebutton.h klanguagebuttonhelper.h wordcompletionui.ui.h + klineedit.h + kurlrequester.h + kpushbutton.h + tdelistview.h class KLanguageButton @@ -280,14 +284,4 @@ init() - - kurlrequester.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - kpushbutton.h - tdelistview.h - kinputdialog.h - -- cgit v1.2.1