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.

docs.cmake 852B

12345678910111213141516171819202122232425262728
  1. find_program(RONN ronn)
  2. option(ESPEAK_BUILD_MANPAGES "Build manpages" ${RONN})
  3. if (RONN AND ESPEAK_BUILD_MANPAGES)
  4. add_custom_command(
  5. OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/espeak-ng.1
  6. COMMAND ${RONN} --roff -o ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/espeak-ng.1.ronn
  7. )
  8. add_custom_command(
  9. OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/speak-ng.1
  10. COMMAND ${RONN} --roff -o ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/speak-ng.1.ronn
  11. )
  12. add_custom_target(
  13. docs ALL
  14. DEPENDS
  15. ${CMAKE_CURRENT_BINARY_DIR}/espeak-ng.1
  16. ${CMAKE_CURRENT_BINARY_DIR}/speak-ng.1
  17. )
  18. install(
  19. FILES
  20. ${CMAKE_CURRENT_BINARY_DIR}/espeak-ng.1
  21. ${CMAKE_CURRENT_BINARY_DIR}/speak-ng.1
  22. DESTINATION share/man/man1
  23. )
  24. endif()