forked from espeak-ng/espeak-ng
-
Notifications
You must be signed in to change notification settings - Fork 16
/
CMakeLists.txt
43 lines (34 loc) · 1.2 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cmake_minimum_required(VERSION 3.8)
project(espeak-ng
VERSION 1.52.0.1
DESCRIPTION "open source speech synthesizer that supports more than hundred languages and accents"
HOMEPAGE_URL "https://github.com/espeak-ng/espeak-ng"
)
option(BUILD_ESPEAK_NG_EXE "Whether to build espeak-ng-bin" ON)
option(BUILD_ESPEAK_NG_TESTS "Whether to build tests" ON)
include(CTest)
include(cmake/deps.cmake)
include(cmake/config.cmake)
add_subdirectory(src)
if(BUILD_ESPEAK_NG_EXE)
include(cmake/data.cmake)
endif()
include(cmake/docs.cmake)
include(cmake/package.cmake)
include(CPack)
if(BUILD_ESPEAK_NG_TESTS)
include(CTest)
add_subdirectory(tests)
endif()
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
message(STATUS "Configuration:")
message(STATUS " shared: ${BUILD_SHARED_LIBS}")
message(STATUS " mbrola: ${USE_MBROLA} (${MBROLA_BIN})")
message(STATUS " libsonic: ${USE_LIBSONIC} (${SONIC_LIB} ${SONIC_INC})")
message(STATUS " libpcaudio: ${USE_LIBPCAUDIO} (${PCAUDIO_LIB} ${PCAUDIO_INC})")
message(STATUS " klatt: ${USE_KLATT}")
message(STATUS " speech-player: ${USE_SPEECHPLAYER}")
message(STATUS " async: ${USE_ASYNC}")
install(
DIRECTORY vim/ftdetect vim/syntax DESTINATION share/vim/vimfiles
)