|
|
@ -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 "")
|
|
|
|