eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 782B

12345678910111213141516171819202122232425
  1. add_library(espeak-include INTERFACE)
  2. target_include_directories(espeak-include INTERFACE include include/compat)
  3. add_subdirectory(ucd-tools)
  4. add_subdirectory(speechPlayer)
  5. add_subdirectory(libespeak-ng)
  6. add_executable(espeak-ng-bin espeak-ng.c)
  7. set_target_properties(espeak-ng-bin PROPERTIES OUTPUT_NAME espeak-ng)
  8. target_link_libraries(
  9. espeak-ng-bin PRIVATE espeak-ng espeak-ng-config
  10. )
  11. if (MSVC)
  12. target_sources(espeak-ng-bin PRIVATE compat/getopt.c)
  13. endif()
  14. if (NOT WIN32)
  15. add_custom_target(
  16. speak-ng ALL
  17. ${CMAKE_COMMAND} -E create_symlink espeak-ng ${CMAKE_CURRENT_BINARY_DIR}/speak-ng
  18. COMMENT "Link espeak-ng to speak-ng"
  19. DEPENDS espeak-ng-bin
  20. )
  21. endif()
  22. install(TARGETS espeak-ng-bin)
  23. install(DIRECTORY include/espeak include/espeak-ng TYPE INCLUDE)