blob: 59dafa1b80172238e6a4a479e91e2388fe820643 (
plain)
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
|
# CMakeLists.txt in src
SET(OPUS_HEADERS
../include/opus.h
../include/opus_multistream.h
analysis.h
mlp.h
opus_private.h
tansig_table.h
)
add_library (
opus STATIC
${OPUS_HEADERS}
analysis.c
analysis.h
mlp.c
mlp.h
mlp_data.c
opus.c
opus_decoder.c
opus_encoder.c
opus_multistream.c
opus_multistream_decoder.c
opus_multistream_encoder.c
opus_private.h
repacketizer.c
tansig_table.h
)
INCLUDE_DIRECTORIES(
${OPUS_INCLUDES_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../celt
${CMAKE_CURRENT_SOURCE_DIR}/../silk
${CMAKE_CURRENT_SOURCE_DIR}/../silk/fixed
${CMAKE_CURRENT_SOURCE_DIR}/../silk/float
)
ADD_LIBRARY( opus STATIC ${OPUS_HEADERS} ${OPUS_SRCS})
|