-
Notifications
You must be signed in to change notification settings - Fork 10
/
CMakeLists.txt
executable file
·76 lines (67 loc) · 2.83 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
cmake_minimum_required(VERSION 3.5)
project(asr_test)
#set(CMAKE_CXX_FLAGS " -O3 -w -std=c++11 -fopenmp -DNDEBUG -DKENLM_MAX_ORDER=6 ")
#set(CMAKE_C_FLAGS " -O3 -w -std=c++11 -fopenmp -DNDEBUG -DKENLM_MAX_ORDER=6 ")
set(CMAKE_CXX_FLAGS " -O3 -w -std=c++11 -DNDEBUG -DKENLM_MAX_ORDER=6 ")
set(CMAKE_C_FLAGS " -O3 -w -std=c++11 -DNDEBUG -DKENLM_MAX_ORDER=6 ")
add_executable(asr_test
./src/am/am.cpp
./src/asr/asr.cpp
./src/decoder/ctc_beam_search_decoder.cpp
./src/feat/extract_feat.cpp
./src/feat/hanning.cpp
./src/nn/nn.cpp
./src/decoder/scorer.cpp
./src/vad/vad.cpp
./src/vad/vad_internal_api.c
./src/lm/bhiksha.cc
./src/lm/binary_format.cc
./src/lm/config.cc
./src/lm/lm_exception.cc
./src/lm/model.cc
./src/lm/quantize.cc
./src/lm/read_arpa.cc
./src/lm/search_hashed.cc
./src/lm/search_trie.cc
./src/lm/sizes.cc
./src/lm/trie.cc
./src/lm/trie_sort.cc
./src/lm/value_build.cc
./src/lm/virtual_interface.cc
./src/lm/vocab.cc
./src/util/bit_packing.cc
./src/util/ersatz_progress.cc
./src/util/exception.cc
./src/util/file.cc
./src/util/file_piece.cc
./src/util/float_to_string.cc
./src/util/integer_to_string.cc
./src/util/mmap.cc
./src/util/murmur_hash.cc
./src/util/parallel_read.cc
./src/util/pool.cc
./src/util/read_compressed.cc
./src/util/scoped.cc
./src/util/spaces.cc
./src/util/string_piece.cc
./src/util/usage.cc
./src/util/double-conversion/bignum.cc
./src/util/double-conversion/bignum-dtoa.cc
./src/util/double-conversion/cached-powers.cc
./src/util/double-conversion/diy-fp.cc
./src/util/double-conversion/double-conversion.cc
./src/util/double-conversion/fast-dtoa.cc
./src/util/double-conversion/fixed-dtoa.cc
./src/util/double-conversion/strtod.cc
./src/librnnoise/celt_lpc.c
./src/librnnoise/denoise.c
./src/librnnoise/kiss_fft.c
./src/librnnoise/pitch.c
./src/librnnoise/rnn.c
./src/librnnoise/rnn_data.c
./test/main.cpp)
target_include_directories(asr_test PUBLIC
./include
./src
./src/util
./eigen-3.4.0)