sdrangel/libfreedv/CMakeLists.txt

86 lines
1.2 KiB
CMake
Raw Normal View History

2019-03-04 17:04:27 -05:00
project(freedv)
set(CMAKE_CXX_STANDARD 11)
2019-03-04 17:04:27 -05:00
set(freedv_SOURCES
2019-03-04 19:01:38 -05:00
codec2_fft.cpp
cohpsk.cpp
fdmdv.cpp
2019-03-04 17:04:27 -05:00
freedv_api.cpp
2019-03-04 19:01:38 -05:00
freedv_data_channel.cpp
freedv_filter.cpp
freedv_vhf_framing.cpp
fmfsk.cpp
2019-03-04 19:01:38 -05:00
fsk.cpp
2019-03-04 21:12:41 -05:00
gp_interleaver.cpp
HRA_112_112.cpp
interldpc.cpp
2019-03-04 19:01:38 -05:00
kiss_fft.cpp
kiss_fftr.cpp
2019-03-04 19:01:38 -05:00
linreg.cpp
2019-03-04 21:12:41 -05:00
mpdecode_core.cpp
ofdm.cpp
phi0.cpp
2019-03-04 17:04:27 -05:00
)
set(freedv_HEADERS
2019-03-04 17:06:09 -05:00
codec2_cohpsk.h
codec2_fdmdv.h
2019-03-04 17:04:27 -05:00
codec2_fft.h
codec2_ofdm.h
2019-03-04 19:01:38 -05:00
cohpsk_defs.h
cohpsk_internal.h
comp_prim.h
2019-03-04 17:04:27 -05:00
defines.h
fdmdv_internal.h
fdv_arm_math.h
fmfsk.h
2019-03-04 17:06:09 -05:00
freedv_api_internal.h
2019-03-04 17:04:27 -05:00
freedv_data_channel.h
2019-03-04 19:01:38 -05:00
freedv_filter_coef.h
2019-03-04 17:04:27 -05:00
freedv_filter.h
freedv_vhf_framing.h
2019-03-04 17:06:09 -05:00
fsk.h
2019-03-04 17:04:27 -05:00
gp_interleaver.h
2019-03-04 19:01:38 -05:00
hanning.h
2019-03-04 21:12:41 -05:00
HRA_112_112.h
2019-03-04 17:04:27 -05:00
interldpc.h
2019-03-04 19:01:38 -05:00
_kiss_fft_guts.h
2019-03-04 17:04:27 -05:00
kiss_fft.h
kiss_fftr.h
2019-03-04 17:06:09 -05:00
libfreedv.h
2019-03-04 19:01:38 -05:00
linreg.h
machdep.h
2019-03-04 17:04:27 -05:00
modem_probe.h
2019-03-04 17:06:09 -05:00
modem_stats.h
2019-03-04 17:04:27 -05:00
mpdecode_core.h
ofdm_internal.h
2019-03-04 19:01:38 -05:00
os.h
2019-03-04 21:12:41 -05:00
phi0.h
2019-03-04 19:01:38 -05:00
pilot_coeff.h
pilots_coh.h
rn_coh.h
rn.h
rxdec_coeff.h
test_bits_coh.h
test_bits.h
2019-03-04 17:04:27 -05:00
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CODEC2_INCLUDE_DIR}
)
add_definitions(-DQT_SHARED)
add_library(freedv SHARED
${freedv_SOURCES}
)
target_link_libraries(freedv
${CODEC2_LIBRARIES}
)
install(TARGETS freedv DESTINATION lib)