CMakeLists.txt 985 Bytes
Newer Older
moto's avatar
moto committed
1
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
moto's avatar
moto committed
2

moto's avatar
moto committed
3
4
5
6
################################################################################
# sox
################################################################################
add_library(libsox INTERFACE)
moto's avatar
moto committed
7
if (BUILD_SOX)
8
  add_subdirectory(sox)
moto's avatar
moto committed
9
10
  target_include_directories(libsox INTERFACE ${SOX_INCLUDE_DIR})
  target_link_libraries(libsox INTERFACE ${SOX_LIBRARIES})
moto's avatar
moto committed
11
endif()
12

moto's avatar
moto committed
13
14
15
16
17
18
19
################################################################################
# kaldi
################################################################################
if (BUILD_KALDI)
  add_subdirectory(kaldi)
endif()

moto's avatar
moto committed
20
21
22
################################################################################
# KenLM
################################################################################
23
if (BUILD_CTC_DECODER)
moto's avatar
moto committed
24
25
26
27
28
29
  add_subdirectory(zlib)
  add_subdirectory(bzip2)
  add_subdirectory(lzma)
  add_subdirectory(boost)
  add_subdirectory(kenlm)
endif()