blob: b3d81ce5068eaec83a843523ad9c7348ed813375 (
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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
# Copyright (C) 2011-2016,2017,2019 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
########################################################################
# Setup library
########################################################################
add_library(gnuradio-digital
additive_scrambler_bb_impl.cc
binary_slicer_fb_impl.cc
burst_shaper_impl.cc
chunks_to_symbols_impl.cc
clock_recovery_mm_cc_impl.cc
clock_recovery_mm_ff_impl.cc
clock_tracking_loop.cc
constellation.cc
constellation_decoder_cb_impl.cc
constellation_encoder_bc_impl.cc
constellation_receiver_cb_impl.cc
constellation_soft_decoder_cf_impl.cc
corr_est_cc_impl.cc
correlate_access_code_bb_impl.cc
correlate_access_code_tag_bb_impl.cc
correlate_access_code_tag_ff_impl.cc
correlate_access_code_bb_ts_impl.cc
correlate_access_code_ff_ts_impl.cc
costas_loop_cc_impl.cc
cpmmod_bc_impl.cc
crc32.cc
crc32_bb_impl.cc
crc32_async_bb_impl.cc
decision_feedback_equalizer_impl.cc
descrambler_bb_impl.cc
diff_decoder_bb_impl.cc
diff_encoder_bb_impl.cc
diff_phasor_cc_impl.cc
fll_band_edge_cc_impl.cc
framer_sink_1_impl.cc
glfsr.cc
glfsr_source_b_impl.cc
glfsr_source_f_impl.cc
hdlc_deframer_bp_impl.cc
hdlc_framer_pb_impl.cc
header_buffer.cc
header_payload_demux_impl.cc
linear_equalizer_impl.cc
map_bb_impl.cc
meas_evm_cc_impl.cc
modulate_vector.cc
mpsk_snr_est.cc
mpsk_snr_est_cc_impl.cc
msk_timing_recovery_cc_impl.cc
ofdm_carrier_allocator_cvc_impl.cc
ofdm_chanest_vcvc_impl.cc
ofdm_cyclic_prefixer_impl.cc
ofdm_equalizer_base.cc
ofdm_equalizer_simpledfe.cc
ofdm_equalizer_static.cc
ofdm_frame_equalizer_vcvc_impl.cc
ofdm_serializer_vcc_impl.cc
ofdm_sync_sc_cfb_impl.cc
header_format_base.cc
header_format_default.cc
header_format_counter.cc
header_format_crc.cc
header_format_ofdm.cc
protocol_formatter_async_impl.cc
protocol_formatter_bb_impl.cc
protocol_parser_b_impl.cc
packet_header_default.cc
packet_header_ofdm.cc
packet_headergenerator_bb_impl.cc
packet_headerparser_b_impl.cc
packet_sink_impl.cc
pfb_clock_sync_ccf_impl.cc
pfb_clock_sync_fff_impl.cc
pn_correlator_cc_impl.cc
probe_density_b_impl.cc
probe_mpsk_snr_est_c_impl.cc
scrambler_bb_impl.cc
interpolating_resampler.cc
symbol_sync_cc_impl.cc
symbol_sync_ff_impl.cc
timing_error_detector.cc
)
target_link_libraries(gnuradio-digital PUBLIC
gnuradio-runtime
gnuradio-filter
gnuradio-blocks
gnuradio-analog
Boost::boost
Volk::volk
)
target_include_directories(gnuradio-digital
PUBLIC $<INSTALL_INTERFACE:include>
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
)
#Add Windows DLL resource file if using MSVC
IF(MSVC)
include(${CMAKE_SOURCE_DIR}/cmake/Modules/GrVersion.cmake)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/gnuradio-digital.rc.in
${CMAKE_CURRENT_BINARY_DIR}/gnuradio-digital.rc
@ONLY)
target_sources(gnuradio-digital PRIVATE
${CMAKE_CURRENT_BINARY_DIR}/gnuradio-digital.rc
)
ENDIF(MSVC)
if(BUILD_SHARED_LIBS)
GR_LIBRARY_FOO(gnuradio-digital)
endif()
########################################################################
# QA C++ Code for gr-blocks
########################################################################
if(ENABLE_TESTING)
include(GrTest)
list(APPEND test_gr_digital_sources
qa_header_format.cc
qa_header_buffer.cc
)
list(APPEND GR_TEST_TARGET_DEPS gnuradio-digital)
foreach(qa_file ${test_gr_digital_sources})
GR_ADD_CPP_TEST("digital_${qa_file}"
${CMAKE_CURRENT_SOURCE_DIR}/${qa_file}
)
endforeach(qa_file)
endif(ENABLE_TESTING)
|