1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-19 23:01:51 -05:00
sdrangel/libfreedv/CMakeLists.txt
Davide Gerhard 92129089a5
add basic external libraries
- codec2
- cm256cc
- mbelib
- serialdv
- dsdcc
2019-05-23 23:51:20 +02:00

84 lines
1.2 KiB
CMake

project(freedv)
set(freedv_SOURCES
codec2_fft.cpp
cohpsk.cpp
fdmdv.cpp
freedv_api.cpp
freedv_data_channel.cpp
freedv_filter.cpp
freedv_vhf_framing.cpp
fmfsk.cpp
fsk.cpp
gp_interleaver.cpp
HRA_112_112.cpp
interldpc.cpp
kiss_fft.cpp
kiss_fftr.cpp
linreg.cpp
mpdecode_core.cpp
ofdm.cpp
phi0.cpp
)
set(freedv_HEADERS
codec2_cohpsk.h
codec2_fdmdv.h
codec2_fft.h
codec2_ofdm.h
cohpsk_defs.h
cohpsk_internal.h
comp_prim.h
defines.h
fdmdv_internal.h
fdv_arm_math.h
fmfsk.h
freedv_api_internal.h
freedv_data_channel.h
freedv_filter_coef.h
freedv_filter.h
freedv_vhf_framing.h
fsk.h
gp_interleaver.h
hanning.h
HRA_112_112.h
interldpc.h
_kiss_fft_guts.h
kiss_fft.h
kiss_fftr.h
libfreedv.h
linreg.h
machdep.h
modem_probe.h
modem_stats.h
mpdecode_core.h
ofdm_internal.h
os.h
phi0.h
pilot_coeff.h
pilots_coh.h
rn_coh.h
rn.h
rxdec_coeff.h
test_bits_coh.h
test_bits.h
)
include_directories(
${CODEC2_INCLUDE_DIR}
)
add_library(freedv SHARED
${freedv_SOURCES}
)
if(ENABLE_EXTERNAL_LIBRARIES)
add_dependencies(freedv codec2)
endif()
target_link_libraries(freedv
${CODEC2_LIBRARIES}
)
install(TARGETS freedv DESTINATION ${INSTALL_LIB_DIR})