srsLTE/srsue/test/CMakeLists.txt

22 lines
791 B
CMake
Raw Normal View History

2017-05-30 06:38:04 -07:00
#
2021-03-19 03:45:56 -07:00
# Copyright 2013-2021 Software Radio Systems Limited
2017-05-30 06:38:04 -07:00
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the distribution.
2017-05-30 06:38:04 -07:00
#
add_subdirectory(phy)
2017-05-30 06:38:04 -07:00
add_subdirectory(upper)
2019-09-16 12:17:21 -07:00
if (ENABLE_TTCN3)
add_subdirectory(ttcn3)
endif (ENABLE_TTCN3)
2017-09-23 13:24:37 -07:00
add_executable(metrics_test metrics_test.cc ../src/metrics_stdout.cc ../src/metrics_csv.cc)
2021-03-19 03:45:56 -07:00
target_link_libraries(metrics_test srsran_phy srsran_common)
2017-09-23 13:24:37 -07:00
add_test(metrics_test metrics_test -o ${CMAKE_CURRENT_BINARY_DIR}/ue_metrics.csv)
2019-04-23 01:53:11 -07:00
add_executable(mac_test mac_test.cc)
2021-03-19 03:45:56 -07:00
target_link_libraries(mac_test srsue_mac srsue_phy srsran_common srsran_mac srsran_phy srsran_radio srsran_asn1 rrc_asn1 ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
2019-04-23 01:53:11 -07:00
add_test(mac_test mac_test)