-
Notifications
You must be signed in to change notification settings - Fork 19
/
CMakeLists.txt
40 lines (33 loc) · 1.17 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
cmake_minimum_required(VERSION 3.13)
project(tetra_demodulator)
set(CMAKE_INSTALL_PREFIX "/usr/")
include(GNUInstallDirs)
file(GLOB SRC LIST_DIRECTORIES false
"src/*.cpp"
"src/*.c"
"src/dsp/*.cpp"
"src/decoder/src/*.cpp"
"src/decoder/src/*.c"
"src/decoder/src/crypto/*.cpp"
"src/decoder/src/crypto/*.c"
"src/decoder/src/lower_mac/*.cpp"
"src/decoder/src/lower_mac/*.c"
"src/decoder/src/phy/*.cpp"
"src/decoder/src/phy/*.c"
"src/decoder/codec/c-code/cdec_tet.c"
"src/decoder/codec/c-code/sub_cd.c"
"src/decoder/codec/c-code/tetra_op.c"
"src/decoder/codec/c-code/sdec_tet.c"
"src/decoder/codec/c-code/sub_sc_d.c"
"src/decoder/codec/c-code/sub_dsp.c"
"src/decoder/codec/c-code/fbas_tet.c"
"src/decoder/codec/c-code/fexp_tet.c"
"src/decoder/codec/c-code/fmat_tet.c"
"src/decoder/codec/c-code/tetra_op.c"
)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native")
if (NOT SDRPP_MODULE_CMAKE)
set(SDRPP_MODULE_CMAKE "/usr/share/cmake/Modules/sdrpp_module.cmake")
endif ()
include(${SDRPP_MODULE_CMAKE})
target_include_directories(tetra_demodulator PRIVATE BEFORE "src/" "src/decoder/src" "src/decoder/codec" )