renamed srsue and srsenb

master
Ismael Gomez 8 years ago
parent 643fd1ccbe
commit 198c705fcd

@ -15,8 +15,8 @@ if (RPATH)
endif (RPATH) endif (RPATH)
add_executable(enb main.cc enb.cc parser.cc enb_cfg_parser.cc metrics_stdout.cc) add_executable(srsenb main.cc enb.cc parser.cc enb_cfg_parser.cc metrics_stdout.cc)
target_link_libraries(enb srsenb_upper target_link_libraries(srsenb srsenb_upper
srsenb_mac srsenb_mac
srsenb_phy srsenb_phy
srslte_common srslte_common
@ -29,17 +29,16 @@ target_link_libraries(enb srsenb_upper
${LIBCONFIGPP_LIBRARIES} ${LIBCONFIGPP_LIBRARIES}
${SCTP_LIBRARIES}) ${SCTP_LIBRARIES})
set_target_properties(enb PROPERTIES INSTALL_RPATH ".") if (RPATH)
set_target_properties(srsenb PROPERTIES INSTALL_RPATH ".")
endif (RPATH)
######################################################################## ########################################################################
# Option to run command after build (useful for remote builds) # Option to run command after build (useful for remote builds)
######################################################################## ########################################################################
if (NOT ${BUILD_CMD} STREQUAL "") if (NOT ${BUILDENB_CMD} STREQUAL "")
message(STATUS "Added custom post-build command: ${BUILD_CMD}") message(STATUS "Added custom post-build-ENB command: ${BUILDENB_CMD}")
add_custom_command(TARGET enb POST_BUILD COMMAND ${BUILD_CMD}) add_custom_command(TARGET srsenb POST_BUILD COMMAND ${BUILDENB_CMD})
else(NOT ${BUILD_CMD} STREQUAL "") else(NOT ${BUILDENB_CMD} STREQUAL "")
message(STATUS "No post-build command defined") message(STATUS "No post-build-ENB command defined")
endif (NOT ${BUILD_CMD} STREQUAL "") endif (NOT ${BUILDENB_CMD} STREQUAL "")

@ -26,8 +26,8 @@ if (RPATH)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
endif (RPATH) endif (RPATH)
add_executable(ue main.cc ue.cc metrics_stdout.cc) add_executable(srsue main.cc ue.cc metrics_stdout.cc)
target_link_libraries(ue srsue_mac target_link_libraries(srsue srsue_mac
srsue_phy srsue_phy
srsue_upper srsue_upper
srslte_common srslte_common
@ -40,15 +40,15 @@ target_link_libraries(ue srsue_mac
${Boost_LIBRARIES}) ${Boost_LIBRARIES})
if (RPATH) if (RPATH)
set_target_properties(ue PROPERTIES INSTALL_RPATH ".") set_target_properties(srsue PROPERTIES INSTALL_RPATH ".")
endif (RPATH) endif (RPATH)
######################################################################## ########################################################################
# Option to run command after build (useful for remote builds) # Option to run command after build (useful for remote builds)
######################################################################## ########################################################################
if (NOT ${BUILD_CMD} STREQUAL "") if (NOT ${BUILDUE_CMD} STREQUAL "")
message(STATUS "Added custom post-build command: ${BUILD_CMD}") message(STATUS "Added custom post-build-UE command: ${BUILDUE_CMD}")
add_custom_command(TARGET ue POST_BUILD COMMAND ${BUILD_CMD}) add_custom_command(TARGET ue POST_BUILD COMMAND ${BUILDUE_CMD})
else(NOT ${BUILD_CMD} STREQUAL "") else(NOT ${BUILDUE_CMD} STREQUAL "")
message(STATUS "No post-build command defined") message(STATUS "No post-build-UE command defined")
endif (NOT ${BUILD_CMD} STREQUAL "") endif (NOT ${BUILDUE_CMD} STREQUAL "")

Loading…
Cancel
Save