hamnet70/impl/test/CMakeLists.txt

127 lines
2 KiB
CMake
Raw Normal View History

2022-01-22 22:42:05 +01:00
add_executable(
test_correlator
../src/layer1/correlator.c
../src/layer1/correlator.h
../src/layer1/freq_est.c
../src/layer1/freq_est.h
2023-05-17 22:26:46 +02:00
../src/utils.c
layer1/test_correlator.c
2022-01-22 22:42:05 +01:00
)
target_link_libraries(
test_correlator
m
2024-05-09 18:32:51 +02:00
liquid
2022-01-22 22:42:05 +01:00
)
2023-05-12 13:46:02 +02:00
#------------------------------------
add_executable(
test_layer1_loopback
../src/layer1/correlator.c
../src/layer1/correlator.h
../src/layer1/freq_est.c
../src/layer1/freq_est.h
../src/layer1/packet_mod.c
../src/layer1/packet_mod.h
../src/layer1/preamble.c
../src/layer1/preamble.h
../src/layer1/transmission.c
../src/layer1/transmission.h
../src/layer1/tx.c
../src/layer1/tx.h
../src/layer1/rx.c
../src/layer1/rx.h
../src/layer1/whitening.c
../src/layer1/whitening.h
../src/layer1/modcod.c
../src/layer1/modcod.h
../src/utils.c
2024-03-31 18:01:00 +02:00
../src/utils.h
../src/var_array.c
../src/var_array.h
2024-03-31 18:01:00 +02:00
../src/options.c
../src/options.h
2023-05-12 13:46:02 +02:00
layer1/test_loopback.c
)
target_link_libraries(
test_layer1_loopback
m
2024-05-09 18:32:51 +02:00
liquid
2024-03-31 18:01:00 +02:00
fftw3
fftw3f
fec
2023-05-12 13:46:02 +02:00
)
2023-05-17 22:26:46 +02:00
#------------------------------------
add_executable(
test_freq_est
../src/layer1/freq_est.c
../src/layer1/freq_est.h
../src/utils.c
layer1/test_freq_est.c
)
target_link_libraries(
test_freq_est
2024-03-31 18:01:00 +02:00
fftw3f
2023-05-17 22:26:46 +02:00
m
2024-05-09 18:32:51 +02:00
liquid
2023-05-17 22:26:46 +02:00
)
2024-03-30 21:56:00 +01:00
#------------------------------------
add_executable(
test_rx_file
../src/layer1/correlator.c
../src/layer1/correlator.h
../src/layer1/freq_est.c
../src/layer1/freq_est.h
../src/layer1/rx.c
../src/layer1/rx.h
../src/layer1/whitening.c
../src/layer1/whitening.h
../src/layer1/modcod.c
../src/layer1/modcod.h
../src/layer1/preamble.c
../src/layer1/preamble.h
../src/utils.c
../src/utils.h
2024-03-31 18:01:00 +02:00
../src/options.c
../src/options.h
../src/var_array.c
../src/var_array.h
2024-03-30 21:56:00 +01:00
../src/config.h
../src/jsonlogger.c
../src/jsonlogger.h
../src/debug_structs.h
2024-03-30 21:56:00 +01:00
layer1/test_rx_file.c
)
target_link_libraries(
test_rx_file
fec
fftw3f
m
2024-05-09 18:32:51 +02:00
liquid
)
#------------------------------------
add_executable(
test_jsonlogger
../src/jsonlogger.c
../src/jsonlogger.h
../src/debug_structs.h
test_jsonlogger.c
)
target_link_libraries(
test_freq_est
fftw3f
m
2024-05-09 18:32:51 +02:00
liquid
2024-03-30 21:56:00 +01:00
)