fix - avoid recompiling srsue rrc files twice

This commit is contained in:
Francisco 2021-04-20 22:27:18 +01:00 committed by Francisco Paisana
parent 69726bc939
commit 23203b73ae
3 changed files with 6 additions and 5 deletions

View File

@ -6,8 +6,9 @@
# the distribution.
#
set(SOURCES rrc.cc rrc_nr.cc rrc_procedures.cc rrc_meas.cc rrc_cell.cc phy_controller.cc)
set(SOURCES rrc.cc rrc_procedures.cc rrc_meas.cc rrc_cell.cc phy_controller.cc)
add_library(srsue_rrc STATIC ${SOURCES})
set(SOURCES rrc_nr.cc)
add_library(srsue_rrc_nr STATIC ${SOURCES})

View File

@ -12,10 +12,10 @@ add_executable(ttcn3_dut ttcn3_dut.cc lte_ttcn3_phy.cc ${SOURCES})
set(LINK_LIBRARIES srsue_stack
srsue_upper
srsue_rrc
srsue_rrc_nr
srsran_upper
srsran_common
srsran_mac
srsran_mac
srsran_phy
srsran_radio
srsran_upper
@ -25,7 +25,7 @@ set(LINK_LIBRARIES srsue_stack
rrc_asn1
rrc_nr_asn1
sctp
${Boost_LIBRARIES})
${Boost_LIBRARIES})
target_link_libraries(ttcn3_dut ${LINK_LIBRARIES})

View File

@ -44,7 +44,7 @@ target_link_libraries(rrc_cell_test srsue_rrc srsue_upper srsran_upper srsran_ph
add_test(rrc_cell_test rrc_cell_test)
add_executable(ue_rrc_nr_test ue_rrc_nr_test.cc)
target_link_libraries(ue_rrc_nr_test srsue_rrc srsue_upper srsran_upper srsran_phy rrc_asn1 rrc_nr_asn1)
target_link_libraries(ue_rrc_nr_test srsue_rrc_nr srsue_upper srsran_common srsran_upper srsran_phy rrc_asn1 rrc_nr_asn1)
########################################################################
# Option to run command after build (useful for remote builds)