minor cmake edits

master
Paul Sutton 8 years ago
parent 5ed2c3d5a5
commit 80140c7c38

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -30,18 +30,18 @@ endif(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
######################################################################## ########################################################################
# Project setup # Project setup
######################################################################## ########################################################################
CMAKE_MINIMUM_REQUIRED (VERSION 2.6) cmake_minimum_required(VERSION 2.6)
PROJECT (SRSLTE) project( SRSLTE )
MESSAGE( STATUS "CMAKE_SYSTEM: " ${CMAKE_SYSTEM} ) message( STATUS "CMAKE_SYSTEM: " ${CMAKE_SYSTEM} )
MESSAGE( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} ) message( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} )
MESSAGE( STATUS "CMAKE_CXX_COMPILER: " ${CMAKE_CXX_COMPILER} ) message( STATUS "CMAKE_CXX_COMPILER: " ${CMAKE_CXX_COMPILER} )
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules") list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules")
include(SRSLTEVersion) #sets version information include(SRSLTEVersion) #sets version information
include(SRSLTEPackage) #setup cpack include(SRSLTEPackage) #setup cpack
include(CTest) include(CTest)
set( CTEST_MEMORYCHECK_COMMAND valgrind ) set(CTEST_MEMORYCHECK_COMMAND valgrind)
configure_file( configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in" "${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake" "${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake"
@ -50,8 +50,11 @@ configure_file(
######################################################################## ########################################################################
# Options # Options
######################################################################## ########################################################################
option(StaticMKL "StaticMKL" OFF) option(STATIC_MKL "Statically link MKL libraries" OFF)
option(DisableBladeRF "DisableBladeRF" OFF) option(DISABLE_BLADERF "Disable BladeRF" OFF)
option(RPATH "Enable RPATH" OFF)
set(GCC_ARCH native CACHE STRING "GCC compile for specific architecture.")
######################################################################## ########################################################################
@ -92,13 +95,13 @@ if(UHD_FOUND)
link_directories(${UHD_LIBRARY_DIRS}) link_directories(${UHD_LIBRARY_DIRS})
endif(UHD_FOUND) endif(UHD_FOUND)
if(NOT DisableBladeRF) if(NOT DISABLE_BLADERF)
find_package(bladeRF) find_package(bladeRF)
if(BLADERF_FOUND) if(BLADERF_FOUND)
include_directories(${BLADERF_INCLUDE_DIRS}) include_directories(${BLADERF_INCLUDE_DIRS})
link_directories(${BLADERF_LIBRARY_DIRS}) link_directories(${BLADERF_LIBRARY_DIRS})
endif(BLADERF_FOUND) endif(BLADERF_FOUND)
endif(NOT DisableBladeRF) endif(NOT DISABLE_BLADERF)
find_package(SoapySDR) find_package(SoapySDR)
if(SOAPYSDR_FOUND) if(SOAPYSDR_FOUND)
@ -224,13 +227,11 @@ if(CMAKE_COMPILER_IS_GNUCC)
endif(${CMAKE_BUILD_TYPE} STREQUAL "Debug") endif(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
IF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon -march=native -DIS_ARM -DHAVE_NEON") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon -march=native -DIS_ARM -DHAVE_NEON")
message(STATUS "have ARM") message(STATUS "have ARM")
ELSE(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") endif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
ENDIF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") set(CMAKE_REQUIRED_FLAGS ${CMAKE_C_FLAGS})
set(CMAKE_REQUIRED_FLAGS ${CMAKE_C_FLAGS})
if(NOT WIN32) if(NOT WIN32)
ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-fvisibility=hidden HAVE_VISIBILITY_HIDDEN) ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-fvisibility=hidden HAVE_VISIBILITY_HIDDEN)

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -61,13 +61,13 @@ if(UHD_FOUND)
link_directories(${UHD_LIBRARY_DIRS}) link_directories(${UHD_LIBRARY_DIRS})
endif(UHD_FOUND) endif(UHD_FOUND)
if(NOT DisableBladeRF) if(NOT DISABLE_BLADERF)
find_package(bladeRF) find_package(bladeRF)
if(BLADERF_FOUND) if(BLADERF_FOUND)
include_directories(${BLADERF_INCLUDE_DIRS}) include_directories(${BLADERF_INCLUDE_DIRS})
link_directories(${BLADERF_LIBRARY_DIRS}) link_directories(${BLADERF_LIBRARY_DIRS})
endif(BLADERF_FOUND) endif(BLADERF_FOUND)
endif(NOT DisableBladeRF) endif(NOT DISABLE_BLADERF)
find_package(SoapySDR) find_package(SoapySDR)
if(SOAPYSDR_FOUND) if(SOAPYSDR_FOUND)

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,27 @@
#
# Copyright 2013-2017 Software Radio Systems Limited
#
# This file is part of srsLTE
#
# srsLTE 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.
#
# srsLTE 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/.
#
include_directories(hdr) include_directories(hdr)
add_library(srslte_asn1 SHARED add_library(srslte_asn1 SHARED
liblte_common.cc liblte_common.cc
liblte_rrc.cc liblte_rrc.cc
liblte_mme.cc liblte_mme.cc
) )
INSTALL(TARGETS srslte_asn1 DESTINATION ${LIBRARY_DIR}) install(TARGETS srslte_asn1 DESTINATION ${LIBRARY_DIR})

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -22,5 +22,5 @@ file(GLOB CXX_SOURCES "*.cc")
file(GLOB C_SOURCES "*.c") file(GLOB C_SOURCES "*.c")
add_library(srslte_common SHARED ${C_SOURCES} ${CXX_SOURCES}) add_library(srslte_common SHARED ${C_SOURCES} ${CXX_SOURCES})
target_link_libraries(srslte_common ${POLAR_LIBRARIES}) target_link_libraries(srslte_common ${POLAR_LIBRARIES})
INSTALL(TARGETS srslte_common DESTINATION ${LIBRARY_DIR}) install(TARGETS srslte_common DESTINATION ${LIBRARY_DIR})
SRSLTE_SET_PIC(srslte_common) SRSLTE_SET_PIC(srslte_common)

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -64,17 +64,17 @@ if(NOT DisableMEX)
endif(NOT DisableMEX) endif(NOT DisableMEX)
if(MKL_FOUND) if(MKL_FOUND)
if(StaticMKL) if(STATIC_MKL)
target_link_libraries(srslte_phy ${MKL_STATIC_LIBRARIES}) target_link_libraries(srslte_phy ${MKL_STATIC_LIBRARIES})
if(NOT DisableMEX) if(NOT DisableMEX)
target_link_libraries(srslte_phy_static ${MKL_STATIC_LIBRARIES}) target_link_libraries(srslte_phy_static ${MKL_STATIC_LIBRARIES})
endif(NOT DisableMEX) endif(NOT DisableMEX)
else(StaticMKL) else(STATIC_MKL)
target_link_libraries(srslte_phy ${MKL_LIBRARIES}) target_link_libraries(srslte_phy ${MKL_LIBRARIES})
if(NOT DisableMEX) if(NOT DisableMEX)
target_link_libraries(srslte_phy_static ${MKL_LIBRARIES}) target_link_libraries(srslte_phy_static ${MKL_LIBRARIES})
endif(NOT DisableMEX) endif(NOT DisableMEX)
endif(StaticMKL) endif(STATIC_MKL)
else(MKL_FOUND) else(MKL_FOUND)
target_link_libraries(srslte_phy ${FFTW3F_LIBRARIES}) target_link_libraries(srslte_phy ${FFTW3F_LIBRARIES})
if(NOT DisableMEX) if(NOT DisableMEX)
@ -112,6 +112,6 @@ if(VOLK_FOUND)
endif(NOT DisableMEX) endif(NOT DisableMEX)
endif(VOLK_FOUND) endif(VOLK_FOUND)
INSTALL(TARGETS srslte_phy DESTINATION ${LIBRARY_DIR}) install(TARGETS srslte_phy DESTINATION ${LIBRARY_DIR})
SRSLTE_SET_PIC(srslte_phy) SRSLTE_SET_PIC(srslte_phy)

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,7 +1,7 @@
# #
# Copyright 2013-2015 Software Radio Systems Limited # Copyright 2013-2017 Software Radio Systems Limited
# #
# This file is part of the srsLTE library. # This file is part of srsLTE
# #
# srsLTE is free software: you can redistribute it and/or modify # srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.
@ -18,8 +19,8 @@
# #
if(RF_FOUND) if(RF_FOUND)
add_library(srslte_radio SHARED radio.cc radio_multi.cc) add_library(srslte_radio SHARED radio.cc radio_multi.cc)
INSTALL(TARGETS srslte_radio DESTINATION ${LIBRARY_DIR}) install(TARGETS srslte_radio DESTINATION ${LIBRARY_DIR})
target_link_libraries(srslte_radio srslte_rf) target_link_libraries(srslte_radio srslte_rf)
SRSLTE_SET_PIC(srslte_radio) SRSLTE_SET_PIC(srslte_radio)
endif(RF_FOUND) endif(RF_FOUND)

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.
@ -20,5 +21,5 @@
file(GLOB SOURCES "*.cc") file(GLOB SOURCES "*.cc")
add_library(srslte_upper SHARED ${SOURCES}) add_library(srslte_upper SHARED ${SOURCES})
target_link_libraries(srslte_upper srslte_common srslte_asn1) target_link_libraries(srslte_upper srslte_common srslte_asn1)
INSTALL(TARGETS srslte_upper DESTINATION ${LIBRARY_DIR}) install(TARGETS srslte_upper DESTINATION ${LIBRARY_DIR})
SRSLTE_SET_PIC(srslte_upper) SRSLTE_SET_PIC(srslte_upper)

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.
@ -21,7 +22,7 @@
######################################################################## ########################################################################
# Find boost # Find boost
######################################################################## ########################################################################
SET(BOOST_REQUIRED_COMPONENTS set(BOOST_REQUIRED_COMPONENTS
program_options program_options
system system
) )

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.
@ -21,7 +22,7 @@ add_subdirectory(phy)
add_subdirectory(mac) add_subdirectory(mac)
if (RPATH) 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(ue main.cc ue.cc metrics_stdout.cc)

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

@ -1,13 +1,14 @@
# Copyright 2015 Software Radio Systems Limited
# #
# This file is part of srsUE # Copyright 2013-2017 Software Radio Systems Limited
# #
# srsUE is free software: you can redistribute it and/or modify # This file is part of srsLTE
#
# srsLTE is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of # published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version. # the License, or (at your option) any later version.
# #
# srsUE is distributed in the hope that it will be useful, # srsLTE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.

Loading…
Cancel
Save