KDE3 support libs not needed anymore.
[kdeaccessibility.git] / kttsd / kttsd / CMakeLists.txt
blob9e844ab2e0bd5668015efe5ca9fc6797da9aab89
2 include_directories( ${CMAKE_SOURCE_DIR}/kttsd/libkttsd  )
5 ########### next target ###############
7 set(kttsd_SRCS 
8    main.cpp 
9    kttsd.cpp 
10    speaker.cpp 
11    speechdata.cpp 
12    threadedplugin.cpp 
13    ssmlconvert.cpp 
14    filtermgr.cpp 
15    talkermgr.cpp )
17 kde4_automoc(${kttsd_SRCS})
19 kde4_add_dcop_skels(kttsd_SRCS ${CMAKE_INSTALL_PREFIX}/include/kspeech.h kttsd.h )
21 kde4_add_dcop_stubs(kttsd_SRCS ${CMAKE_INSTALL_PREFIX}/include/kspeechsink.h )
23 kde4_add_executable(kttsd_bin ${kttsd_SRCS})
24 set_target_properties(kttsd_bin PROPERTIES OUTPUT_NAME kttsd)
26 target_link_libraries(kttsd_bin
27     ${KDE4_KDECORE_LIBS}
28     kttsd )
30 install_targets(/bin kttsd_bin )
33 ########### install files ###############
35 install_files( ${DATA_INSTALL_DIR}/kttsd/xslt/ FILES SSMLtoPlainText.xsl )
36 install_files( ${SERVICES_INSTALL_DIR} FILES kttsd.desktop )
41 #original Makefile.am contents follow:
43 ## Include paths.  INCLUDES is maintained by KDevelop, AM_CPPFLAGS is the preferred variable,
44 ## so keep them synchronized.
45 #INCLUDES = \
46 #       -I$(top_srcdir)/kttsd/libkttsd \
47 #       -I$(kde_includes)/arts \
48 #       $(KTTS_KSPEECH_INCLUDE) \
49 #       $(all_includes)
51 ## Let am_edit/unsermake handle all of the metasource files (moc).
52 #METASOURCES = AUTO
54 ##########################################################################
55 ## APPLICATION SECTION
56 ##########################################################################
57 ## This is the program that gets installed.  It's name is used for all
58 ## of the other Makefile.am variables.
59 #bin_PROGRAMS = kttsd
61 #kspeech_DIR = $(KTTS_KSPEECH_DIR)
62 #kspeechsink_DIR = $(KTTS_KSPEECH_DIR)
64 ## The source, library search path, and link libraries.
65 ## Note: .skel files cause DCOPIDL compiler to generate _skel.cpp file and compile it.
66 #kttsd_SOURCES = \
67 #    kspeech.skel kspeechsink.stub\
68 #       main.cpp \
69 #       kttsd.cpp \
70 #       speaker.cpp \
71 #       speechdata.cpp \
72 #       kttsd.skel \
73 #       threadedplugin.cpp \
74 #       ssmlconvert.cpp \
75 #       filtermgr.cpp \
76 #       talkermgr.cpp
78 #kttsd_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_RPATH)
79 #kttsd_LDADD = \
80 #       $(top_builddir)/kttsd/libkttsd/libkttsd.la \
81 #       $(LIB_KDECORE) \
82 #       $(LIB_KIO) \
83 #       $(LIB_KUTILS)
85 ## Install desktop file to standard services directory.
86 #kde_services_DATA = kttsd.desktop
88 ## Install data.
89 #kttsddatadir = $(kde_datadir)/kttsd/xslt/
90 #kttsddata_DATA = SSMLtoPlainText.xsl
92 #noinst_HEADERS = threadedplugin.h ssmlconvert.h