
include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### libkttsd_hadifixplugin (kpart)

tde_add_kpart( libkttsd_hadifixplugin AUTOMOC

  SOURCES
        hadifixconfigui.ui
        voicefileui.ui
        hadifixconf.cpp
        hadifixproc.cpp
        hadifixplugin.cpp
  LINK
     tdecore-shared
     kttsd-shared

  DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### other data

tde_create_translated_desktop(
    SOURCE kttsd_hadifixplugin.desktop
    DESTINATION ${SERVICES_INSTALL_DIR}
)

install(
    FILES SSMLtoTxt2pho.xsl
    DESTINATION ${DATA_INSTALL_DIR}/kttsd/hadifix/xslt
)
