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 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. cmake_minimum_required(VERSION 3.8)
  2. project(espeak-ng
  3. VERSION 1.52.0.1
  4. DESCRIPTION "open source speech synthesizer that supports more than hundred languages and accents"
  5. HOMEPAGE_URL "https://github.com/espeak-ng/espeak-ng"
  6. )
  7. option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
  8. option(COMPILE_INTONATIONS "Intonation compilation" ON)
  9. option(ENABLE_TESTS "Intonation compilation" ON)
  10. include(CTest)
  11. include(cmake/deps.cmake)
  12. include(cmake/config.cmake)
  13. add_subdirectory(src)
  14. if (COMPILE_INTONATIONS AND NOT CMAKE_CROSSCOMPILING)
  15. include(cmake/data.cmake)
  16. endif()
  17. include(cmake/docs.cmake)
  18. include(cmake/package.cmake)
  19. include(CPack)
  20. if(ENABLE_TESTS AND NOT CMAKE_CROSSCOMPILING)
  21. add_subdirectory(tests)
  22. endif()
  23. message(STATUS "Configuration:")
  24. message(STATUS " shared: ${BUILD_SHARED_LIBS}")
  25. message(STATUS " mbrola: ${USE_MBROLA} (${MBROLA_BIN})")
  26. message(STATUS " libsonic: ${USE_LIBSONIC} (${SONIC_LIB} ${SONIC_INC})")
  27. message(STATUS " libpcaudio: ${USE_LIBPCAUDIO} (${PCAUDIO_LIB} ${PCAUDIO_INC})")
  28. message(STATUS " klatt: ${USE_KLATT}")
  29. message(STATUS " speech-player: ${USE_SPEECHPLAYER}")
  30. message(STATUS " async: ${USE_ASYNC}")
  31. install(
  32. DIRECTORY vim/ftdetect vim/syntax DESTINATION share/vim/vimfiles
  33. )