diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-03-29 19:41:28 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-05-07 15:56:19 +0200 |
commit | e7d7fa7069e90f13ee9ce83cde1ea508a9c0b57d (patch) | |
tree | b9869072d9a5efccec8c6738193d2325cc59427b /kmouth/CMakeLists.txt | |
parent | c4c87025a0d51bc969b5065c0a1d6ae4244796e1 (diff) | |
download | tdeaccessibility-e7d7fa7069e90f13ee9ce83cde1ea508a9c0b57d.tar.gz tdeaccessibility-e7d7fa7069e90f13ee9ce83cde1ea508a9c0b57d.zip |
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kmouth/CMakeLists.txt')
-rw-r--r-- | kmouth/CMakeLists.txt | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/kmouth/CMakeLists.txt b/kmouth/CMakeLists.txt new file mode 100644 index 0000000..bed78b0 --- /dev/null +++ b/kmouth/CMakeLists.txt @@ -0,0 +1,60 @@ +add_subdirectory( icons ) +add_subdirectory( phrasebook ) +add_subdirectory( wordcompletion ) +add_subdirectory( books ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_BINARY_DIR}/kmouth/phrasebook + ${CMAKE_BINARY_DIR}/kmouth/wordcompletion +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kmouth (executable) + +tde_add_executable( kmouth AUTOMOC + + SOURCES + preferencesui.ui + texttospeechconfigurationui.ui + texttospeechconfigurationwidget.cpp + optionsdialog.cpp + configwizard.cpp + phraseedit.cpp + phraselist.cpp + speech.cpp + texttospeechsystem.cpp + phraselistitem.cpp + kmouth.cpp + main.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + phrasebook-static + wordcompletion-static + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES kmouthui.rc + DESTINATION ${DATA_INSTALL_DIR}/kmouth +) + +install( + FILES kmouth.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) |