1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-26 15:12:51 +00:00

Report Boost_USE_STATIC_LIBS in building summary

This commit is contained in:
Carles Fernandez 2021-12-17 19:48:11 +01:00
parent bfb9bc88b9
commit 8f2ed57b0e
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -74,6 +74,8 @@ option(ENABLE_ARMA_NO_DEBUG OFF)
option(ENABLE_STRIP "Create stripped binaries without debugging symbols (in Release build mode only)" OFF) option(ENABLE_STRIP "Create stripped binaries without debugging symbols (in Release build mode only)" OFF)
option(Boost_USE_STATIC_LIBS "Use Boost static libs" OFF)
if(ENABLE_PACKAGING) if(ENABLE_PACKAGING)
set(ENABLE_GENERIC_ARCH ON) set(ENABLE_GENERIC_ARCH ON)
set(ENABLE_ARMA_NO_DEBUG ON) set(ENABLE_ARMA_NO_DEBUG ON)
@ -671,19 +673,19 @@ if(NOT (GNURADIO_VERSION VERSION_LESS 3.8) AND (LOG4CPP_READY_FOR_CXX17 OR GNURA
endif() endif()
if(FILESYSTEM_FOUND) if(FILESYSTEM_FOUND)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
if(CMAKE_VERSION VERSION_GREATER 3.13) # if(CMAKE_VERSION VERSION_GREATER 3.13)
# UHD 3.15.0.0-5 does not support C++20 # UHD 3.15.0.0-5 does not support C++20
# GNU Radio 3.10.0.git does not support C++20 # GNU Radio 3.10.0.git does not support C++20
if(((NOT UHD_FOUND) OR (UHD_FOUND AND ("${UHD_VERSION}" VERSION_LESS 3.14.99))) AND (GNURADIO_VERSION VERSION_LESS 3.9.99)) # if(((NOT UHD_FOUND) OR (UHD_FOUND AND ("${UHD_VERSION}" VERSION_LESS 3.14.99))) AND (GNURADIO_VERSION VERSION_LESS 3.9.99))
# set(CMAKE_CXX_STANDARD 20) # set(CMAKE_CXX_STANDARD 20)
if(CMAKE_VERSION VERSION_GREATER 3.20.99) # if(CMAKE_VERSION VERSION_GREATER 3.20.99)
if(((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11.0.0")) OR # if(((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11.0.0")) OR
((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "12.0"))) # ((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "12.0")))
# set(CMAKE_CXX_STANDARD 23) # set(CMAKE_CXX_STANDARD 23)
endif() # endif()
endif() # endif()
endif() # endif()
endif() # endif()
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif() endif()
endif() endif()
@ -711,9 +713,6 @@ set(Boost_ADDITIONAL_VERSIONS
"1.70.0" "1.70" "1.71.0" "1.71" "1.70.0" "1.70" "1.71.0" "1.71"
) )
set(Boost_USE_MULTITHREAD ON) set(Boost_USE_MULTITHREAD ON)
#set(Boost_USE_STATIC_LIBS OFF)
option(Boost_USE_STATIC_LIBS "Use Boost static libs" OFF)
set(BOOST_COMPONENTS atomic chrono date_time serialization system thread) set(BOOST_COMPONENTS atomic chrono date_time serialization system thread)
if(NOT ${FILESYSTEM_FOUND}) if(NOT ${FILESYSTEM_FOUND})
set(BOOST_COMPONENTS ${BOOST_COMPONENTS} filesystem) set(BOOST_COMPONENTS ${BOOST_COMPONENTS} filesystem)
@ -1807,6 +1806,8 @@ if(NOT TARGET BLAS::BLAS)
) )
endif() endif()
################################################################################ ################################################################################
# Check that LAPACK (Linear Algebra PACKage) is found in the system # Check that LAPACK (Linear Algebra PACKage) is found in the system
# See https://www.netlib.org/lapack/ # See https://www.netlib.org/lapack/
@ -1841,6 +1842,7 @@ if(NOT TARGET LAPACK::LAPACK)
endif() endif()
################################################################################ ################################################################################
# Armadillo - http://arma.sourceforge.net/ # Armadillo - http://arma.sourceforge.net/
################################################################################ ################################################################################
@ -2981,6 +2983,7 @@ else()
endif() endif()
########################################## ##########################################
# gr-limesdr - OPTIONAL # gr-limesdr - OPTIONAL
# https://github.com/myriadrf/gr-limesdr # https://github.com/myriadrf/gr-limesdr
@ -3008,6 +3011,7 @@ else()
endif() endif()
############################################## ##############################################
# gr-iio - OPTIONAL # gr-iio - OPTIONAL
# IIO blocks for GNU Radio # IIO blocks for GNU Radio
@ -3054,6 +3058,7 @@ if(ENABLE_PLUTOSDR OR ENABLE_FMCOMMS2)
endif() endif()
##################################################################### #####################################################################
# libiio - OPTIONAL # libiio - OPTIONAL
# A library for interfacing with local and remote Linux IIO devices # A library for interfacing with local and remote Linux IIO devices
@ -3081,6 +3086,7 @@ if(ENABLE_AD9361 OR ENABLE_FMCOMMS2)
endif() endif()
############################################## ##############################################
# TELEORBIT FLEXIBAND FRONTEND - OPTIONAL # TELEORBIT FLEXIBAND FRONTEND - OPTIONAL
############################################## ##############################################
@ -3112,6 +3118,7 @@ if(ENABLE_FLEXIBAND)
endif() endif()
####################################################### #######################################################
# CTTC's digital array beamformer prototype - OPTIONAL # CTTC's digital array beamformer prototype - OPTIONAL
####################################################### #######################################################
@ -3342,6 +3349,7 @@ add_feature_info(ENABLE_INSTALL_TESTS ENABLE_INSTALL_TESTS "Install test binarie
add_feature_info(ENABLE_BENCHMARKS ENABLE_BENCHMARKS "Enables building of code snippet benchmarks.") add_feature_info(ENABLE_BENCHMARKS ENABLE_BENCHMARKS "Enables building of code snippet benchmarks.")
add_feature_info(ENABLE_EXTERNAL_MATHJAX ENABLE_EXTERNAL_MATHJAX "Use MathJax from an external CDN in HTML docs when doing '${CMAKE_MAKE_PROGRAM_PRETTY_NAME} doc'.") add_feature_info(ENABLE_EXTERNAL_MATHJAX ENABLE_EXTERNAL_MATHJAX "Use MathJax from an external CDN in HTML docs when doing '${CMAKE_MAKE_PROGRAM_PRETTY_NAME} doc'.")
add_feature_info(ENABLE_OWN_CPUFEATURES ENABLE_OWN_CPUFEATURES "Force building own local version of the cpu_features library, even if it is already installed.") add_feature_info(ENABLE_OWN_CPUFEATURES ENABLE_OWN_CPUFEATURES "Force building own local version of the cpu_features library, even if it is already installed.")
add_feature_info(Boost_USE_STATIC_LIBS Boost_USE_STATIC_LIBS "Use Boost static libraries.")
message(STATUS "") message(STATUS "")
message(STATUS "***************************************") message(STATUS "***************************************")