mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 22:07:12 +00:00
11 lines
273 B
CMake
11 lines
273 B
CMake
add_library(speechPlayer STATIC
|
|
src/frame.cpp
|
|
src/speechPlayer.cpp
|
|
src/speechWaveGenerator.cpp
|
|
)
|
|
target_include_directories(speechPlayer PUBLIC include)
|
|
if(NOT MSVC)
|
|
target_compile_options(speechPlayer PRIVATE "-fPIC")
|
|
endif()
|
|
install(TARGETS speechPlayer ARCHIVE)
|