From 80140c7c38e42427cf229af655da550d77fa9cf2 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Tue, 30 May 2017 18:14:41 +0100 Subject: [PATCH] minor cmake edits --- CMakeLists.txt | 39 ++++++++++--------- lib/CMakeLists.txt | 8 ++-- lib/examples/CMakeLists.txt | 4 +- lib/examples/tutorial_examples/CMakeLists.txt | 4 +- lib/include/CMakeLists.txt | 4 +- lib/include/srslte/CMakeLists.txt | 4 +- lib/src/CMakeLists.txt | 4 +- lib/src/asn1/CMakeLists.txt | 22 ++++++++++- lib/src/common/CMakeLists.txt | 6 +-- lib/src/phy/CMakeLists.txt | 12 +++--- lib/src/phy/agc/CMakeLists.txt | 4 +- lib/src/phy/ch_estimation/CMakeLists.txt | 4 +- lib/src/phy/ch_estimation/test/CMakeLists.txt | 4 +- lib/src/phy/channel/CMakeLists.txt | 4 +- lib/src/phy/common/CMakeLists.txt | 4 +- lib/src/phy/dft/CMakeLists.txt | 4 +- lib/src/phy/dft/test/CMakeLists.txt | 4 +- lib/src/phy/enb/CMakeLists.txt | 4 +- lib/src/phy/fec/CMakeLists.txt | 4 +- lib/src/phy/fec/test/CMakeLists.txt | 4 +- lib/src/phy/io/CMakeLists.txt | 4 +- lib/src/phy/mimo/CMakeLists.txt | 4 +- lib/src/phy/mimo/test/CMakeLists.txt | 4 +- lib/src/phy/modem/CMakeLists.txt | 4 +- lib/src/phy/modem/test/CMakeLists.txt | 4 +- lib/src/phy/phch/CMakeLists.txt | 4 +- lib/src/phy/phch/test/CMakeLists.txt | 4 +- lib/src/phy/resampling/CMakeLists.txt | 4 +- lib/src/phy/resampling/test/CMakeLists.txt | 4 +- lib/src/phy/rf/CMakeLists.txt | 4 +- lib/src/phy/scrambling/CMakeLists.txt | 4 +- lib/src/phy/scrambling/test/CMakeLists.txt | 4 +- lib/src/phy/sync/CMakeLists.txt | 4 +- lib/src/phy/sync/test/CMakeLists.txt | 4 +- lib/src/phy/ue/CMakeLists.txt | 4 +- lib/src/phy/utils/CMakeLists.txt | 4 +- lib/src/phy/utils/test/CMakeLists.txt | 4 +- lib/src/radio/CMakeLists.txt | 17 ++++---- lib/src/upper/CMakeLists.txt | 11 +++--- lib/test/CMakeLists.txt | 9 +++-- lib/test/common/CMakeLists.txt | 9 +++-- lib/test/upper/CMakeLists.txt | 9 +++-- srsue/CMakeLists.txt | 11 +++--- srsue/src/CMakeLists.txt | 11 +++--- srsue/src/mac/CMakeLists.txt | 9 +++-- srsue/src/phy/CMakeLists.txt | 9 +++-- srsue/test/CMakeLists.txt | 9 +++-- srsue/test/mac/CMakeLists.txt | 9 +++-- srsue/test/phy/CMakeLists.txt | 9 +++-- srsue/test/upper/CMakeLists.txt | 9 +++-- 50 files changed, 190 insertions(+), 156 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3eb7b76f..bec61464a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 # 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 ######################################################################## -CMAKE_MINIMUM_REQUIRED (VERSION 2.6) -PROJECT (SRSLTE) -MESSAGE( STATUS "CMAKE_SYSTEM: " ${CMAKE_SYSTEM} ) -MESSAGE( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} ) -MESSAGE( STATUS "CMAKE_CXX_COMPILER: " ${CMAKE_CXX_COMPILER} ) +cmake_minimum_required(VERSION 2.6) +project( SRSLTE ) +message( STATUS "CMAKE_SYSTEM: " ${CMAKE_SYSTEM} ) +message( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} ) +message( STATUS "CMAKE_CXX_COMPILER: " ${CMAKE_CXX_COMPILER} ) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules") include(SRSLTEVersion) #sets version information include(SRSLTEPackage) #setup cpack include(CTest) -set( CTEST_MEMORYCHECK_COMMAND valgrind ) +set(CTEST_MEMORYCHECK_COMMAND valgrind) configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake" @@ -50,8 +50,11 @@ configure_file( ######################################################################## # Options ######################################################################## -option(StaticMKL "StaticMKL" OFF) -option(DisableBladeRF "DisableBladeRF" OFF) +option(STATIC_MKL "Statically link MKL libraries" 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}) endif(UHD_FOUND) -if(NOT DisableBladeRF) +if(NOT DISABLE_BLADERF) find_package(bladeRF) if(BLADERF_FOUND) include_directories(${BLADERF_INCLUDE_DIRS}) link_directories(${BLADERF_LIBRARY_DIRS}) endif(BLADERF_FOUND) -endif(NOT DisableBladeRF) +endif(NOT DISABLE_BLADERF) find_package(SoapySDR) if(SOAPYSDR_FOUND) @@ -224,13 +227,11 @@ if(CMAKE_COMPILER_IS_GNUCC) endif(${CMAKE_BUILD_TYPE} STREQUAL "Debug") - IF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon -march=native -DIS_ARM -DHAVE_NEON") -message(STATUS "have ARM") -ELSE(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") -ENDIF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") - -set(CMAKE_REQUIRED_FLAGS ${CMAKE_C_FLAGS}) + if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon -march=native -DIS_ARM -DHAVE_NEON") + message(STATUS "have ARM") + endif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") + set(CMAKE_REQUIRED_FLAGS ${CMAKE_C_FLAGS}) if(NOT WIN32) ADD_CXX_COMPILER_FLAG_IF_AVAILABLE(-fvisibility=hidden HAVE_VISIBILITY_HIDDEN) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 1f30ed290..55a029469 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as @@ -61,13 +61,13 @@ if(UHD_FOUND) link_directories(${UHD_LIBRARY_DIRS}) endif(UHD_FOUND) -if(NOT DisableBladeRF) +if(NOT DISABLE_BLADERF) find_package(bladeRF) if(BLADERF_FOUND) include_directories(${BLADERF_INCLUDE_DIRS}) link_directories(${BLADERF_LIBRARY_DIRS}) endif(BLADERF_FOUND) -endif(NOT DisableBladeRF) +endif(NOT DISABLE_BLADERF) find_package(SoapySDR) if(SOAPYSDR_FOUND) diff --git a/lib/examples/CMakeLists.txt b/lib/examples/CMakeLists.txt index 79303ef21..965f2706c 100644 --- a/lib/examples/CMakeLists.txt +++ b/lib/examples/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/examples/tutorial_examples/CMakeLists.txt b/lib/examples/tutorial_examples/CMakeLists.txt index 8228b52b1..95c1f1cb7 100644 --- a/lib/examples/tutorial_examples/CMakeLists.txt +++ b/lib/examples/tutorial_examples/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/include/CMakeLists.txt b/lib/include/CMakeLists.txt index 96888e1de..483afa049 100644 --- a/lib/include/CMakeLists.txt +++ b/lib/include/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/include/srslte/CMakeLists.txt b/lib/include/srslte/CMakeLists.txt index 0a0550b96..ee7cfa287 100644 --- a/lib/include/srslte/CMakeLists.txt +++ b/lib/include/srslte/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/CMakeLists.txt b/lib/src/CMakeLists.txt index f38b21bdb..2c576f754 100644 --- a/lib/src/CMakeLists.txt +++ b/lib/src/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/asn1/CMakeLists.txt b/lib/src/asn1/CMakeLists.txt index 83fe5e315..980878cec 100644 --- a/lib/src/asn1/CMakeLists.txt +++ b/lib/src/asn1/CMakeLists.txt @@ -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) add_library(srslte_asn1 SHARED liblte_common.cc liblte_rrc.cc liblte_mme.cc ) -INSTALL(TARGETS srslte_asn1 DESTINATION ${LIBRARY_DIR}) +install(TARGETS srslte_asn1 DESTINATION ${LIBRARY_DIR}) diff --git a/lib/src/common/CMakeLists.txt b/lib/src/common/CMakeLists.txt index 4eb31e171..43a3aef0f 100644 --- a/lib/src/common/CMakeLists.txt +++ b/lib/src/common/CMakeLists.txt @@ -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 # 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") add_library(srslte_common SHARED ${C_SOURCES} ${CXX_SOURCES}) 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) diff --git a/lib/src/phy/CMakeLists.txt b/lib/src/phy/CMakeLists.txt index 0c18557c4..8310fcd2e 100644 --- a/lib/src/phy/CMakeLists.txt +++ b/lib/src/phy/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as @@ -64,17 +64,17 @@ if(NOT DisableMEX) endif(NOT DisableMEX) if(MKL_FOUND) - if(StaticMKL) + if(STATIC_MKL) target_link_libraries(srslte_phy ${MKL_STATIC_LIBRARIES}) if(NOT DisableMEX) target_link_libraries(srslte_phy_static ${MKL_STATIC_LIBRARIES}) endif(NOT DisableMEX) - else(StaticMKL) + else(STATIC_MKL) target_link_libraries(srslte_phy ${MKL_LIBRARIES}) if(NOT DisableMEX) target_link_libraries(srslte_phy_static ${MKL_LIBRARIES}) endif(NOT DisableMEX) - endif(StaticMKL) + endif(STATIC_MKL) else(MKL_FOUND) target_link_libraries(srslte_phy ${FFTW3F_LIBRARIES}) if(NOT DisableMEX) @@ -112,6 +112,6 @@ if(VOLK_FOUND) endif(NOT DisableMEX) endif(VOLK_FOUND) -INSTALL(TARGETS srslte_phy DESTINATION ${LIBRARY_DIR}) +install(TARGETS srslte_phy DESTINATION ${LIBRARY_DIR}) SRSLTE_SET_PIC(srslte_phy) diff --git a/lib/src/phy/agc/CMakeLists.txt b/lib/src/phy/agc/CMakeLists.txt index c97f5d5d2..79a7a1dcb 100644 --- a/lib/src/phy/agc/CMakeLists.txt +++ b/lib/src/phy/agc/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/ch_estimation/CMakeLists.txt b/lib/src/phy/ch_estimation/CMakeLists.txt index 24dbeed36..067a41d69 100644 --- a/lib/src/phy/ch_estimation/CMakeLists.txt +++ b/lib/src/phy/ch_estimation/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/ch_estimation/test/CMakeLists.txt b/lib/src/phy/ch_estimation/test/CMakeLists.txt index 9b64f8e92..fd293c273 100644 --- a/lib/src/phy/ch_estimation/test/CMakeLists.txt +++ b/lib/src/phy/ch_estimation/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/channel/CMakeLists.txt b/lib/src/phy/channel/CMakeLists.txt index a14a67c89..19f8fe93e 100644 --- a/lib/src/phy/channel/CMakeLists.txt +++ b/lib/src/phy/channel/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/common/CMakeLists.txt b/lib/src/phy/common/CMakeLists.txt index f567eaaab..6b282e7d6 100644 --- a/lib/src/phy/common/CMakeLists.txt +++ b/lib/src/phy/common/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/dft/CMakeLists.txt b/lib/src/phy/dft/CMakeLists.txt index 036e802ee..516ff817f 100644 --- a/lib/src/phy/dft/CMakeLists.txt +++ b/lib/src/phy/dft/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/dft/test/CMakeLists.txt b/lib/src/phy/dft/test/CMakeLists.txt index 650d5a192..f781dede8 100644 --- a/lib/src/phy/dft/test/CMakeLists.txt +++ b/lib/src/phy/dft/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/enb/CMakeLists.txt b/lib/src/phy/enb/CMakeLists.txt index abd38a7d0..0ac7e5a90 100644 --- a/lib/src/phy/enb/CMakeLists.txt +++ b/lib/src/phy/enb/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/fec/CMakeLists.txt b/lib/src/phy/fec/CMakeLists.txt index 2543881e0..d304e2c37 100644 --- a/lib/src/phy/fec/CMakeLists.txt +++ b/lib/src/phy/fec/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/fec/test/CMakeLists.txt b/lib/src/phy/fec/test/CMakeLists.txt index e8da4a1b4..b8046c3bb 100644 --- a/lib/src/phy/fec/test/CMakeLists.txt +++ b/lib/src/phy/fec/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/io/CMakeLists.txt b/lib/src/phy/io/CMakeLists.txt index b913ef941..01e3a3dea 100644 --- a/lib/src/phy/io/CMakeLists.txt +++ b/lib/src/phy/io/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/mimo/CMakeLists.txt b/lib/src/phy/mimo/CMakeLists.txt index 92ea2470d..826baae09 100644 --- a/lib/src/phy/mimo/CMakeLists.txt +++ b/lib/src/phy/mimo/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/mimo/test/CMakeLists.txt b/lib/src/phy/mimo/test/CMakeLists.txt index fc385a1a5..e0e5578d5 100644 --- a/lib/src/phy/mimo/test/CMakeLists.txt +++ b/lib/src/phy/mimo/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/modem/CMakeLists.txt b/lib/src/phy/modem/CMakeLists.txt index 01d609913..654446610 100644 --- a/lib/src/phy/modem/CMakeLists.txt +++ b/lib/src/phy/modem/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/modem/test/CMakeLists.txt b/lib/src/phy/modem/test/CMakeLists.txt index b8cfda6ba..4d28d2fca 100644 --- a/lib/src/phy/modem/test/CMakeLists.txt +++ b/lib/src/phy/modem/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/phch/CMakeLists.txt b/lib/src/phy/phch/CMakeLists.txt index bc07d53d2..b6c511bd5 100644 --- a/lib/src/phy/phch/CMakeLists.txt +++ b/lib/src/phy/phch/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/phch/test/CMakeLists.txt b/lib/src/phy/phch/test/CMakeLists.txt index a662377af..d86302f68 100644 --- a/lib/src/phy/phch/test/CMakeLists.txt +++ b/lib/src/phy/phch/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/resampling/CMakeLists.txt b/lib/src/phy/resampling/CMakeLists.txt index 75b1b1e3c..f12d301f7 100644 --- a/lib/src/phy/resampling/CMakeLists.txt +++ b/lib/src/phy/resampling/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/resampling/test/CMakeLists.txt b/lib/src/phy/resampling/test/CMakeLists.txt index 9dc03c384..f0314b643 100644 --- a/lib/src/phy/resampling/test/CMakeLists.txt +++ b/lib/src/phy/resampling/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/rf/CMakeLists.txt b/lib/src/phy/rf/CMakeLists.txt index aed202e66..753573c79 100644 --- a/lib/src/phy/rf/CMakeLists.txt +++ b/lib/src/phy/rf/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/scrambling/CMakeLists.txt b/lib/src/phy/scrambling/CMakeLists.txt index b0dc7452a..1f9e10353 100644 --- a/lib/src/phy/scrambling/CMakeLists.txt +++ b/lib/src/phy/scrambling/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/scrambling/test/CMakeLists.txt b/lib/src/phy/scrambling/test/CMakeLists.txt index 67b8f4346..8dd63d4a2 100644 --- a/lib/src/phy/scrambling/test/CMakeLists.txt +++ b/lib/src/phy/scrambling/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/sync/CMakeLists.txt b/lib/src/phy/sync/CMakeLists.txt index 2aff1e93e..709b6a45b 100644 --- a/lib/src/phy/sync/CMakeLists.txt +++ b/lib/src/phy/sync/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/sync/test/CMakeLists.txt b/lib/src/phy/sync/test/CMakeLists.txt index bd94df477..fd5c628b4 100644 --- a/lib/src/phy/sync/test/CMakeLists.txt +++ b/lib/src/phy/sync/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/ue/CMakeLists.txt b/lib/src/phy/ue/CMakeLists.txt index fba91255d..f366f4f4f 100644 --- a/lib/src/phy/ue/CMakeLists.txt +++ b/lib/src/phy/ue/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/utils/CMakeLists.txt b/lib/src/phy/utils/CMakeLists.txt index 46785ffb3..5e82da2ef 100644 --- a/lib/src/phy/utils/CMakeLists.txt +++ b/lib/src/phy/utils/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/phy/utils/test/CMakeLists.txt b/lib/src/phy/utils/test/CMakeLists.txt index 42bd5031d..494c20c16 100644 --- a/lib/src/phy/utils/test/CMakeLists.txt +++ b/lib/src/phy/utils/test/CMakeLists.txt @@ -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 # it under the terms of the GNU Affero General Public License as diff --git a/lib/src/radio/CMakeLists.txt b/lib/src/radio/CMakeLists.txt index c5558dc34..42931ea62 100644 --- a/lib/src/radio/CMakeLists.txt +++ b/lib/src/radio/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. @@ -18,8 +19,8 @@ # if(RF_FOUND) -add_library(srslte_radio SHARED radio.cc radio_multi.cc) -INSTALL(TARGETS srslte_radio DESTINATION ${LIBRARY_DIR}) -target_link_libraries(srslte_radio srslte_rf) -SRSLTE_SET_PIC(srslte_radio) + add_library(srslte_radio SHARED radio.cc radio_multi.cc) + install(TARGETS srslte_radio DESTINATION ${LIBRARY_DIR}) + target_link_libraries(srslte_radio srslte_rf) + SRSLTE_SET_PIC(srslte_radio) endif(RF_FOUND) diff --git a/lib/src/upper/CMakeLists.txt b/lib/src/upper/CMakeLists.txt index cc7223f3d..e1a0507e3 100644 --- a/lib/src/upper/CMakeLists.txt +++ b/lib/src/upper/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. @@ -20,5 +21,5 @@ file(GLOB SOURCES "*.cc") add_library(srslte_upper SHARED ${SOURCES}) 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) diff --git a/lib/test/CMakeLists.txt b/lib/test/CMakeLists.txt index a41a6fb0f..a1af8153c 100644 --- a/lib/test/CMakeLists.txt +++ b/lib/test/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/lib/test/common/CMakeLists.txt b/lib/test/common/CMakeLists.txt index fe7d8c387..4fc924038 100644 --- a/lib/test/common/CMakeLists.txt +++ b/lib/test/common/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/lib/test/upper/CMakeLists.txt b/lib/test/upper/CMakeLists.txt index b1b4ec5fb..fecda4df1 100644 --- a/lib/test/upper/CMakeLists.txt +++ b/lib/test/upper/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/srsue/CMakeLists.txt b/srsue/CMakeLists.txt index c3a773ad9..b4f58b25a 100644 --- a/srsue/CMakeLists.txt +++ b/srsue/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. @@ -21,7 +22,7 @@ ######################################################################## # Find boost ######################################################################## -SET(BOOST_REQUIRED_COMPONENTS +set(BOOST_REQUIRED_COMPONENTS program_options system ) diff --git a/srsue/src/CMakeLists.txt b/srsue/src/CMakeLists.txt index fc13d814b..01300347f 100644 --- a/srsue/src/CMakeLists.txt +++ b/srsue/src/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. @@ -21,7 +22,7 @@ add_subdirectory(phy) add_subdirectory(mac) if (RPATH) - SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) + set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) endif (RPATH) add_executable(ue main.cc ue.cc metrics_stdout.cc) diff --git a/srsue/src/mac/CMakeLists.txt b/srsue/src/mac/CMakeLists.txt index 595b0dbda..1aae8ffd6 100644 --- a/srsue/src/mac/CMakeLists.txt +++ b/srsue/src/mac/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/srsue/src/phy/CMakeLists.txt b/srsue/src/phy/CMakeLists.txt index 85ac4a985..5613677ef 100644 --- a/srsue/src/phy/CMakeLists.txt +++ b/srsue/src/phy/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/srsue/test/CMakeLists.txt b/srsue/test/CMakeLists.txt index 4ad133d17..c9949a7e2 100644 --- a/srsue/test/CMakeLists.txt +++ b/srsue/test/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/srsue/test/mac/CMakeLists.txt b/srsue/test/mac/CMakeLists.txt index b1bf4e07f..080bb4c37 100644 --- a/srsue/test/mac/CMakeLists.txt +++ b/srsue/test/mac/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/srsue/test/phy/CMakeLists.txt b/srsue/test/phy/CMakeLists.txt index 84356a023..6432b2ca3 100644 --- a/srsue/test/phy/CMakeLists.txt +++ b/srsue/test/phy/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. diff --git a/srsue/test/upper/CMakeLists.txt b/srsue/test/upper/CMakeLists.txt index b69973f7f..6c316f5dc 100644 --- a/srsue/test/upper/CMakeLists.txt +++ b/srsue/test/upper/CMakeLists.txt @@ -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 # published by the Free Software Foundation, either version 3 of # 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details.