diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-06-27 16:35:25 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-06-27 16:35:25 +0200 |
commit | d4a1613e9f119ae68c695ab60f8d9856d1a54a52 (patch) | |
tree | 6de888ef76667e28c81832dc104c19b158859b9b /kwordquiz/src/CMakeLists.txt | |
parent | 9fb4e1ccde0b89b413bfdc8ae62f8178ecad5483 (diff) | |
download | tdeedu-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 'kwordquiz/src/CMakeLists.txt')
-rw-r--r-- | kwordquiz/src/CMakeLists.txt | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/kwordquiz/src/CMakeLists.txt b/kwordquiz/src/CMakeLists.txt new file mode 100644 index 00000000..4e0b5cad --- /dev/null +++ b/kwordquiz/src/CMakeLists.txt @@ -0,0 +1,99 @@ +add_subdirectory( pics ) +add_subdirectory( examples ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/kwordquiz/icons +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kwordquiz (executable) + +tde_add_executable( kwordquiz AUTOMOC + + SOURCES + dlglanguagebase.ui + flashviewbase.ui + multipleviewbase.ui + qaviewbase.ui + prefeditorbase.ui + prefquizbase.ui + dlgsortbase.ui + dlgrcbase.ui + prefcharacterbase.ui + prefcardappearancebase.ui + kwordquizprefs.cpp + kwordquizview.cpp + kwordquizdoc.cpp + kwordquiz.cpp + main.cpp + qaview.cpp + flashview.cpp + multipleview.cpp + wqquiz.cpp + wqlistitem.cpp + wqscore.cpp + keduvocdata.cpp + prefeditor.cpp + prefquiz.cpp + dlgsort.cpp + dlgrc.cpp + dlgspecchar.cpp + kvtmlwriter.cpp + dlglanguage.cpp + wqprintdialogpage.cpp + prefcharacter.cpp + paukerreader.cpp + wqlreader.cpp + wqlwriter.cpp + wqundo.cpp + prefcardappearance.cpp + kwqnewstuff.cpp + prefs.kcfgc + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeprint-shared + tdenewstuff-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES kwordquizui.rc eventsrc + DESTINATION ${DATA_INSTALL_DIR}/kwordquiz +) + +install( + FILES kwordquiz.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES x-kwordquiz.desktop + DESTINATION ${MIME_INSTALL_DIR}/application +) + +install( + FILES kwordquiz.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +install( + FILES kwordquizrc + DESTINATION ${CONFIG_INSTALL_DIR} +) + |