update index.theme
[kdeaccessibility.git] / kmouth / CMakeLists.txt
blob1bdf4ec06e5486d7132fd53604ed651b78841f10
1 project(kmouth)
3 add_definitions (-DQT3_SUPPORT)
4 set(libphrasebook_SRCS 
5         ./phrasebook/phrasetree.cpp
6         ./phrasebook/phrasebookparser.cpp
7         ./phrasebook/phrasebookdialog.cpp
8         ./phrasebook/phrasebook.cpp
9         )
11 kde4_add_ui_files(libphrasebook_SRCS ./phrasebook/buttonboxui.ui) 
13 set(libwordcompletion_SRCS
14         ./wordcompletion/wordlist.cpp 
15         ./wordcompletion/wordcompletion.cpp 
16         ./wordcompletion/wordcompletionwidget.cpp 
17         ./wordcompletion/dictionarycreationwizard.cpp 
18         )
19         
20 kde4_add_ui_files(libwordcompletion_SRCS 
21         ./wordcompletion/creationsourceui.ui 
22         ./wordcompletion/creationsourcedetailsui.ui 
23         ./wordcompletion/kdedocsourceui.ui
24         ./wordcompletion/wordcompletionui.ui )
26 add_subdirectory( icons ) 
27 add_subdirectory( phrasebook ) 
28 add_subdirectory( wordcompletion ) 
29 add_subdirectory( books ) 
31 include_directories(./wordcompletion/  )
34 ########### next target ###############
36 set(kmouth_SRCS ${libwordcompletion_SRCS} ${libphrasebook_SRCS}
37    texttospeechconfigurationwidget.cpp 
38    optionsdialog.cpp 
39    configwizard.cpp 
40    phraseedit.cpp 
41    phraselist.cpp 
42    speech.cpp 
43    texttospeechsystem.cpp 
44    phraselistitem.cpp 
45    kmouth.cpp 
46    main.cpp )
48 set(kspeech_xml  ${DBUS_INTERFACES_INSTALL_DIR}/org.kde.KSpeech.xml)
49 qt4_add_dbus_interface(kmouth_SRCS ${kspeech_xml} kspeech_interface)
51 kde4_add_ui_files(kmouth_SRCS preferencesui.ui texttospeechconfigurationui.ui )
53 kde4_add_executable(kmouth ${kmouth_SRCS})
55 target_link_libraries(kmouth  ${KDE4_KIO_LIBS} ${KDE4_KDE3SUPPORT_LIBS} )
57 install(TARGETS kmouth  DESTINATION ${BIN_INSTALL_DIR} )
60 ########### install files ###############
62 install( FILES kmouth.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )
63 install( FILES kmouthrc  DESTINATION  ${CONFIG_INSTALL_DIR} )
64 install( FILES kmouthui.rc  DESTINATION  ${DATA_INSTALL_DIR}/kmouth )