build: support building with cmake

This commit is contained in:
Yury Popov
2022-12-02 21:34:33 +03:00
parent 859bd63a53
commit c60a49d711
9 changed files with 379 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
add_library(speechPlayer STATIC
src/frame.cpp
src/speechPlayer.cpp
src/speechWaveGenerator.cpp
)
target_include_directories(speechPlayer PUBLIC include)
target_compile_options(speechPlayer PRIVATE "-fPIC")
install(TARGETS speechPlayer ARCHIVE)