You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
3.1 KiB
CMake

#
# Copyright 2013-2021 Software Radio Systems Limited
#
# This file is part of srsRAN
#
# srsRAN is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# srsRAN is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# A copy of the GNU Affero General Public License can be found in
# the LICENSE file in the top-level directory of this distribution
# and at http://www.gnu.org/licenses/.
#
add_executable(s1ap_asn1_test s1ap_test.cc)
target_link_libraries(s1ap_asn1_test srsran_common srsran_asn1 s1ap_asn1)
add_test(s1ap_asn1_test s1ap_asn1_test)
add_executable(srsran_asn1_rrc_mcch_test srsran_asn1_rrc_mcch_test.cc)
target_link_libraries(srsran_asn1_rrc_mcch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_mcch_test srsran_asn1_rrc_mcch_test)
add_executable(srsran_asn1_rrc_meas_test srsran_asn1_rrc_meas_test.cc)
target_link_libraries(srsran_asn1_rrc_meas_test rrc_asn1 rrc_nr_asn1 srsran_common)
add_test(srsran_asn1_rrc_meas_test srsran_asn1_rrc_meas_test)
add_executable(srsran_asn1_rrc_ul_dcch_test srsran_asn1_rrc_ul_dcch_test.cc)
target_link_libraries(srsran_asn1_rrc_ul_dcch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_ul_dcch_test srsran_asn1_rrc_ul_dcch_test)
add_executable(srsran_asn1_rrc_dl_ccch_test srsran_asn1_rrc_dl_ccch_test.cc)
target_link_libraries(srsran_asn1_rrc_dl_ccch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_dl_ccch_test srsran_asn1_rrc_dl_ccch_test)
add_executable(srsran_asn1_rrc_dl_dcch_test srsran_asn1_rrc_dl_dcch_test.cc)
target_link_libraries(srsran_asn1_rrc_dl_dcch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_dl_dcch_test srsran_asn1_rrc_dl_dcch_test)
add_executable(srsran_asn1_nas_test srsran_asn1_nas_test.cc)
target_link_libraries(srsran_asn1_nas_test srsran_common srsran_phy srsran_asn1)
add_test(srsran_asn1_nas_test srsran_asn1_nas_test)
add_executable(asn1_utils_test asn1_utils_test.cc)
target_link_libraries(asn1_utils_test asn1_utils srsran_common)
add_test(asn1_utils_test asn1_utils_test)
add_executable(rrc_asn1_test rrc_test.cc)
target_link_libraries(rrc_asn1_test rrc_asn1 asn1_utils srsran_common)
add_test(rrc_asn1_test rrc_asn1_test)
add_executable(rrc_nr_asn1_test rrc_nr_test.cc)
target_link_libraries(rrc_nr_asn1_test rrc_nr_asn1 asn1_utils srsran_common)
add_test(rrc_nr_asn1_test rrc_nr_asn1_test)
add_executable(ngap_asn1_test ngap_test.cc)
target_link_libraries(ngap_asn1_test ngap_nr_asn1 srsran_common)
add_test(ngap_asn1_test ngap_asn1_test)
add_executable(rrc_nr_utils_test rrc_nr_utils_test.cc)
target_link_libraries(rrc_nr_utils_test ngap_nr_asn1 srsran_common rrc_nr_asn1)
add_test(rrc_nr_utils_test rrc_nr_utils_test)
add_executable(rrc_asn1_decoder rrc_asn1_decoder.cc)
target_link_libraries(rrc_asn1_decoder rrc_asn1)
add_executable(nas_decoder nas_decoder.cc)
target_link_libraries(nas_decoder srsran_asn1)