diff options
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} +) + |