1 SET (this_target osp-speech-stt)
8 SET (${this_target}_SOURCE_FILES
9 FUixSpeechSpeechToText.cpp
10 FUixSpeech_SpeechToTextImpl.cpp
13 SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -Wall" )
15 ## SET C COMPILER FLAGS
16 SET(CMAKE_C_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}")
18 ## SET CPP COMPILER FLAGS
19 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
20 SET(CMAKE_CXX_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}")
23 ADD_LIBRARY (${this_target} SHARED ${${this_target}_SOURCE_FILES})
26 SET(CMAKE_SHARED_LINKER_FLAGS -Wl,--no-undefined)
28 TARGET_LINK_LIBRARIES(${this_target} "-losp-appfw" )
29 TARGET_LINK_LIBRARIES(${this_target} "-lstt" )
31 OSP_STRIP(${this_target})