feat():initial version
This commit is contained in:
282
install/boost_1_75_0/lib/cmake/Boost-1.75.0/BoostConfig.cmake
Normal file
282
install/boost_1_75_0/lib/cmake/Boost-1.75.0/BoostConfig.cmake
Normal file
@@ -0,0 +1,282 @@
|
||||
# Copyright 2019 Peter Dimov
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# This CMake configuration file, installed as part of the Boost build
|
||||
# and installation procedure done by `b2 install`, provides support
|
||||
# for find_package(Boost).
|
||||
#
|
||||
# It's roughly, but not perfectly, compatible with the behavior
|
||||
# of find_package(Boost) as provided by FindBoost.cmake.
|
||||
#
|
||||
# A typical use might be
|
||||
#
|
||||
# find_package(Boost 1.70 REQUIRED COMPONENTS filesystem regex PATHS C:/Boost)
|
||||
#
|
||||
# On success, the above invocation would define the targets Boost::headers,
|
||||
# Boost::filesystem and Boost::regex. Boost::headers represents all
|
||||
# header-only libraries. An alias, Boost::boost, for Boost::headers is
|
||||
# provided for compatibility.
|
||||
#
|
||||
# Requesting the special component "ALL" will make all installed components
|
||||
# available, as in the following example:
|
||||
#
|
||||
# find_package(Boost 1.73 REQUIRED COMPONENTS ALL)
|
||||
#
|
||||
# Since COMPONENTS is optional when REQUIRED is specified, the above can be
|
||||
# shortened to
|
||||
#
|
||||
# find_package(Boost 1.73 REQUIRED ALL)
|
||||
#
|
||||
# When ALL is used, a variable Boost_ALL_TARGETS will be set and will contain
|
||||
# the names of all created targets.
|
||||
#
|
||||
# The ALL component cannot be combined with named components.
|
||||
#
|
||||
# Since Boost libraries can coexist in many variants - 32/64 bit,
|
||||
# static/dynamic runtime, debug/release, the following variables can be used
|
||||
# to control which variant is chosen:
|
||||
#
|
||||
# Boost_USE_DEBUG_LIBS: When OFF, disables debug libraries.
|
||||
# Boost_USE_RELEASE_LIBS: When OFF, disables release libraries.
|
||||
# Boost_USE_MULTITHREADED: When OFF, uses single-threaded libraries.
|
||||
# The default is multithreaded.
|
||||
# Boost_USE_STATIC_LIBS: When ON, uses static Boost libraries; when OFF,
|
||||
# uses shared Boost libraries; when not set, uses
|
||||
# static on Windows, shared otherwise.
|
||||
# Boost_USE_STATIC_RUNTIME: When ON, uses Boost libraries linked against the
|
||||
# static runtime. The default is shared runtime.
|
||||
# Boost_USE_DEBUG_RUNTIME: When ON, uses Boost libraries linked against the
|
||||
# debug runtime. When OFF, against the release
|
||||
# runtime. The default is to use either.
|
||||
# Boost_COMPILER: The compiler that has been used to build Boost,
|
||||
# such as vc141, gcc7, clang37. The default is
|
||||
# determined from CMAKE_CXX_COMPILER_ID.
|
||||
# Boost_PYTHON_VERSION: The version of Python against which Boost.Python
|
||||
# has been built; only required when more than one
|
||||
# Boost.Python library is present.
|
||||
#
|
||||
# The following variables control the verbosity of the output:
|
||||
#
|
||||
# Boost_VERBOSE: Enable verbose output
|
||||
# Boost_DEBUG: Enable debug (even more verbose) output
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
|
||||
message(STATUS "Found Boost ${Boost_VERSION} at ${Boost_DIR}")
|
||||
|
||||
# Output requested configuration (f.ex. "REQUIRED COMPONENTS filesystem")
|
||||
|
||||
if(Boost_FIND_QUIETLY)
|
||||
set(_BOOST_CONFIG "${_BOOST_CONFIG} QUIET")
|
||||
endif()
|
||||
|
||||
if(Boost_FIND_REQUIRED)
|
||||
set(_BOOST_CONFIG "${_BOOST_CONFIG} REQUIRED")
|
||||
endif()
|
||||
|
||||
foreach(__boost_comp IN LISTS Boost_FIND_COMPONENTS)
|
||||
if(${Boost_FIND_REQUIRED_${__boost_comp}})
|
||||
list(APPEND _BOOST_COMPONENTS ${__boost_comp})
|
||||
else()
|
||||
list(APPEND _BOOST_OPTIONAL_COMPONENTS ${__boost_comp})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(_BOOST_COMPONENTS)
|
||||
set(_BOOST_CONFIG "${_BOOST_CONFIG} COMPONENTS ${_BOOST_COMPONENTS}")
|
||||
endif()
|
||||
|
||||
if(_BOOST_OPTIONAL_COMPONENTS)
|
||||
set(_BOOST_CONFIG "${_BOOST_CONFIG} OPTIONAL_COMPONENTS ${_BOOST_OPTIONAL_COMPONENTS}")
|
||||
endif()
|
||||
|
||||
if(_BOOST_CONFIG)
|
||||
message(STATUS " Requested configuration:${_BOOST_CONFIG}")
|
||||
endif()
|
||||
|
||||
unset(_BOOST_CONFIG)
|
||||
unset(_BOOST_COMPONENTS)
|
||||
unset(_BOOST_OPTIONAL_COMPONENTS)
|
||||
|
||||
endif()
|
||||
|
||||
macro(boost_find_component comp required quiet)
|
||||
|
||||
set(_BOOST_QUIET)
|
||||
if(Boost_FIND_QUIETLY OR ${quiet})
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
|
||||
set(_BOOST_REQUIRED)
|
||||
if(${required} AND Boost_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
|
||||
if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9])$")
|
||||
|
||||
# handle pythonXY and numpyXY versioned components for compatibility
|
||||
|
||||
set(Boost_PYTHON_VERSION "${CMAKE_MATCH_2}.${CMAKE_MATCH_3}")
|
||||
set(__boost_comp_nv "${CMAKE_MATCH_1}")
|
||||
|
||||
elseif("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])$")
|
||||
|
||||
# handle python2/python3 for compatibility
|
||||
|
||||
set(Boost_PYTHON_VERSION_MAJOR "${CMAKE_MATCH_2}")
|
||||
set(__boost_comp_nv "${CMAKE_MATCH_1}")
|
||||
|
||||
else()
|
||||
|
||||
set(__boost_comp_nv "${comp}")
|
||||
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "BoostConfig: find_package(boost_${__boost_comp_nv} ${Boost_VERSION} EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})")
|
||||
endif()
|
||||
find_package(boost_${__boost_comp_nv} ${Boost_VERSION} EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
|
||||
set(__boost_comp_found ${boost_${__boost_comp_nv}_FOUND})
|
||||
|
||||
# FindPackageHandleStandardArgs expects <package>_<component>_FOUND
|
||||
set(Boost_${comp}_FOUND ${__boost_comp_found})
|
||||
|
||||
# FindBoost sets Boost_<COMPONENT>_FOUND
|
||||
string(TOUPPER ${comp} _BOOST_COMP)
|
||||
set(Boost_${_BOOST_COMP}_FOUND ${__boost_comp_found})
|
||||
|
||||
# FindBoost compatibility variables: Boost_LIBRARIES, Boost_<C>_LIBRARY
|
||||
if(__boost_comp_found)
|
||||
|
||||
list(APPEND Boost_LIBRARIES Boost::${__boost_comp_nv})
|
||||
set(Boost_${_BOOST_COMP}_LIBRARY Boost::${__boost_comp_nv})
|
||||
|
||||
if(NOT "${comp}" STREQUAL "${__boost_comp_nv}" AND NOT TARGET Boost::${comp})
|
||||
|
||||
# Versioned target alias (f.ex. Boost::python27) for compatibility
|
||||
add_library(Boost::${comp} INTERFACE IMPORTED)
|
||||
set_property(TARGET Boost::${comp} APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${__boost_comp_nv})
|
||||
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
unset(__boost_comp_nv)
|
||||
unset(__boost_comp_found)
|
||||
unset(_BOOST_COMP)
|
||||
|
||||
endmacro()
|
||||
|
||||
macro(boost_find_all_components)
|
||||
|
||||
# Search for all available component-configuration directories...
|
||||
file(GLOB __boost_all_components
|
||||
LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_LIST_DIR}/.."
|
||||
"${CMAKE_CURRENT_LIST_DIR}/../boost_*-${Boost_VERSION}")
|
||||
# ...and extract component names from it.
|
||||
string(REGEX REPLACE "boost_([_a-z0-9]+)-${Boost_VERSION}" "\\1"
|
||||
__boost_all_components "${__boost_all_components}")
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "BoostConfig: discovered components: ${__boost_all_components}")
|
||||
endif()
|
||||
|
||||
list(REMOVE_ITEM __boost_all_components "headers")
|
||||
|
||||
# Try to find each component.
|
||||
foreach(__boost_comp IN LISTS __boost_all_components)
|
||||
|
||||
boost_find_component(${__boost_comp} 0 1)
|
||||
|
||||
# Append to list of all targets (if found).
|
||||
if(Boost_${__boost_comp}_FOUND)
|
||||
list(APPEND Boost_ALL_TARGETS Boost::${__boost_comp})
|
||||
endif()
|
||||
|
||||
endforeach()
|
||||
|
||||
unset(__boost_all_components)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "BoostConfig: Boost_ALL_TARGETS: ${Boost_ALL_TARGETS}")
|
||||
endif()
|
||||
|
||||
endmacro()
|
||||
|
||||
# Find boost_headers
|
||||
|
||||
boost_find_component(headers 1 0)
|
||||
|
||||
if(NOT boost_headers_FOUND)
|
||||
|
||||
set(Boost_FOUND 0)
|
||||
set(Boost_NOT_FOUND_MESSAGE "A required dependency, boost_headers, has not been found.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# Compatibility variables
|
||||
|
||||
set(Boost_MAJOR_VERSION ${Boost_VERSION_MAJOR})
|
||||
set(Boost_MINOR_VERSION ${Boost_VERSION_MINOR})
|
||||
set(Boost_SUBMINOR_VERSION ${Boost_VERSION_PATCH})
|
||||
|
||||
set(Boost_VERSION_STRING ${Boost_VERSION})
|
||||
set(Boost_VERSION_MACRO ${Boost_VERSION_MAJOR}0${Boost_VERSION_MINOR}0${Boost_VERSION_PATCH})
|
||||
|
||||
get_target_property(Boost_INCLUDE_DIRS Boost::headers INTERFACE_INCLUDE_DIRECTORIES)
|
||||
set(Boost_LIBRARIES "")
|
||||
|
||||
# Find components
|
||||
|
||||
if("ALL" IN_LIST Boost_FIND_COMPONENTS)
|
||||
|
||||
# Make sure "ALL" is the only requested component.
|
||||
list(LENGTH Boost_FIND_COMPONENTS __boost_find_components_count)
|
||||
if(NOT ${__boost_find_components_count} EQUAL 1)
|
||||
message(AUTHOR_WARNING "ALL cannot be combined with named components; the named components will be ignored.")
|
||||
endif()
|
||||
|
||||
unset(__boost_find_components_count)
|
||||
|
||||
set(Boost_ALL_TARGETS Boost::headers)
|
||||
|
||||
boost_find_all_components()
|
||||
|
||||
else()
|
||||
|
||||
foreach(__boost_comp IN LISTS Boost_FIND_COMPONENTS)
|
||||
|
||||
boost_find_component(${__boost_comp} ${Boost_FIND_REQUIRED_${__boost_comp}} 0)
|
||||
|
||||
endforeach()
|
||||
|
||||
endif()
|
||||
|
||||
# Compatibility targets
|
||||
|
||||
if(NOT TARGET Boost::boost)
|
||||
|
||||
add_library(Boost::boost INTERFACE IMPORTED)
|
||||
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::headers)
|
||||
|
||||
# All Boost:: targets already disable autolink
|
||||
add_library(Boost::diagnostic_definitions INTERFACE IMPORTED)
|
||||
add_library(Boost::disable_autolinking INTERFACE IMPORTED)
|
||||
add_library(Boost::dynamic_linking INTERFACE IMPORTED)
|
||||
|
||||
endif()
|
||||
|
||||
# Compatibility variable when using meta-component "ALL"
|
||||
|
||||
if("ALL" IN_LIST Boost_FIND_COMPONENTS)
|
||||
set(Boost_ALL_FOUND ${boost_headers_FOUND})
|
||||
endif()
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
156
install/boost_1_75_0/lib/cmake/BoostDetectToolset-1.75.0.cmake
Normal file
156
install/boost_1_75_0/lib/cmake/BoostDetectToolset-1.75.0.cmake
Normal file
@@ -0,0 +1,156 @@
|
||||
# Copyright 2017-2019 Peter Dimov
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
||||
|
||||
string(REGEX MATCHALL "[0-9]+" _BOOST_COMPILER_VERSION ${CMAKE_CXX_COMPILER_VERSION})
|
||||
|
||||
list(GET _BOOST_COMPILER_VERSION 0 _BOOST_COMPILER_VERSION_MAJOR)
|
||||
list(GET _BOOST_COMPILER_VERSION 1 _BOOST_COMPILER_VERSION_MINOR)
|
||||
|
||||
if(BORLAND)
|
||||
|
||||
# Borland is unversioned
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "bcb")
|
||||
|
||||
set(_BOOST_COMPILER_VERSION_MAJOR)
|
||||
set(_BOOST_COMPILER_VERSION_MINOR)
|
||||
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "clang-darwin")
|
||||
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
|
||||
if(MSVC)
|
||||
set(BOOST_DETECTED_TOOLSET "clangw")
|
||||
else()
|
||||
set(BOOST_DETECTED_TOOLSET "clang")
|
||||
endif()
|
||||
|
||||
if(_BOOST_COMPILER_VERSION_MAJOR GREATER 3)
|
||||
set(_BOOST_COMPILER_VERSION_MINOR)
|
||||
endif()
|
||||
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
|
||||
|
||||
if(WIN32)
|
||||
|
||||
# Intel-Win is unversioned
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "iw")
|
||||
|
||||
set(_BOOST_COMPILER_VERSION_MAJOR)
|
||||
set(_BOOST_COMPILER_VERSION_MINOR)
|
||||
|
||||
else()
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "il")
|
||||
|
||||
endif()
|
||||
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MIPSpro")
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "mp")
|
||||
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "SunPro")
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "sun")
|
||||
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "IBM XL")
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "xlc")
|
||||
|
||||
elseif(MINGW)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "mgw")
|
||||
|
||||
if(_BOOST_COMPILER_VERSION_MAJOR GREATER 4)
|
||||
set(_BOOST_COMPILER_VERSION_MINOR)
|
||||
endif()
|
||||
|
||||
elseif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
if(APPLE)
|
||||
set(BOOST_DETECTED_TOOLSET "xgcc")
|
||||
else()
|
||||
set(BOOST_DETECTED_TOOLSET "gcc")
|
||||
endif()
|
||||
|
||||
if(_BOOST_COMPILER_VERSION_MAJOR GREATER 4)
|
||||
set(_BOOST_COMPILER_VERSION_MINOR)
|
||||
endif()
|
||||
|
||||
elseif(MSVC)
|
||||
|
||||
if((MSVC_VERSION GREATER 1919) AND (MSVC_VERSION LESS 1930))
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc142")
|
||||
|
||||
elseif((MSVC_VERSION GREATER 1909) AND (MSVC_VERSION LESS 1920))
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc141")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1900)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc140")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1800)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc120")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1700)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc110")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1600)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc100")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1500)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc90")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1400)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc80")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1310)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc71")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1300)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc7")
|
||||
|
||||
elseif(MSVC_VERSION EQUAL 1200)
|
||||
|
||||
set(BOOST_DETECTED_TOOLSET "vc6")
|
||||
|
||||
endif()
|
||||
|
||||
set(_BOOST_COMPILER_VERSION_MAJOR)
|
||||
set(_BOOST_COMPILER_VERSION_MINOR)
|
||||
|
||||
endif()
|
||||
|
||||
# Add version
|
||||
|
||||
if(BOOST_DETECTED_TOOLSET)
|
||||
set(BOOST_DETECTED_TOOLSET ${BOOST_DETECTED_TOOLSET}${_BOOST_COMPILER_VERSION_MAJOR}${_BOOST_COMPILER_VERSION_MINOR})
|
||||
endif()
|
||||
|
||||
unset(_BOOST_COMPILER_VERSION)
|
||||
unset(_BOOST_COMPILER_VERSION_MAJOR)
|
||||
unset(_BOOST_COMPILER_VERSION_MINOR)
|
||||
|
||||
if("${BOOST_DETECTED_TOOLSET}" STREQUAL "")
|
||||
|
||||
# Unknown toolset
|
||||
message(STATUS "Boost toolset is unknown (compiler ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION})")
|
||||
|
||||
elseif(Boost_DEBUG)
|
||||
|
||||
message(STATUS "Boost toolset is ${BOOST_DETECTED_TOOLSET} (${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION})")
|
||||
|
||||
endif()
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::atomic)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_atomic ${boost_atomic_VERSION} at ${boost_atomic_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_atomic-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_atomic-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::atomic)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_atomic_FOUND 0)
|
||||
set(boost_atomic_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_ATOMIC_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_ATOMIC_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_ATOMIC_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_atomic dependencies: ${_BOOST_ATOMIC_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_atomic IN LISTS _BOOST_ATOMIC_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_atomic_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_atomic_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_atomic} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::atomic APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_atomic})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_atomic}_FOUND)
|
||||
set(boost_atomic_FOUND 0)
|
||||
set(boost_atomic_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_atomic}, has not been found.")
|
||||
unset(_BOOST_ATOMIC_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_ATOMIC_DEPS)
|
||||
|
||||
mark_as_advanced(boost_atomic_DIR)
|
||||
@@ -0,0 +1,90 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_atomic.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_atomic.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_atomic.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_atomic.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_atomic.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_atomic.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_atomic.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::atomic
|
||||
|
||||
if(NOT TARGET Boost::atomic)
|
||||
add_library(Boost::atomic SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::atomic PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_atomic.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::atomic IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::atomic already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_atomic.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::atomic APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::atomic PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_atomic.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::atomic PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::atomic APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_ATOMIC_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_ATOMIC_DEPS headers)
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::chrono)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_chrono ${boost_chrono_VERSION} at ${boost_chrono_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_chrono-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_chrono-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::chrono)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_chrono_FOUND 0)
|
||||
set(boost_chrono_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_CHRONO_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_CHRONO_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_CHRONO_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_chrono dependencies: ${_BOOST_CHRONO_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_chrono IN LISTS _BOOST_CHRONO_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_chrono_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_chrono_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_chrono} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::chrono APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_chrono})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_chrono}_FOUND)
|
||||
set(boost_chrono_FOUND 0)
|
||||
set(boost_chrono_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_chrono}, has not been found.")
|
||||
unset(_BOOST_CHRONO_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_CHRONO_DEPS)
|
||||
|
||||
mark_as_advanced(boost_chrono_DIR)
|
||||
@@ -0,0 +1,90 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_chrono.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_chrono.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_chrono.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_chrono.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_chrono.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_chrono.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_chrono.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::chrono
|
||||
|
||||
if(NOT TARGET Boost::chrono)
|
||||
add_library(Boost::chrono SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::chrono PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_chrono.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::chrono IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::chrono already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_chrono.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::chrono APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::chrono PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_chrono.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::chrono PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::chrono APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_CHRONO_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_CHRONO_DEPS headers)
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::filesystem)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_filesystem ${boost_filesystem_VERSION} at ${boost_filesystem_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_filesystem-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_filesystem-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::filesystem)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_filesystem_FOUND 0)
|
||||
set(boost_filesystem_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_FILESYSTEM_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_FILESYSTEM_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_FILESYSTEM_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_filesystem dependencies: ${_BOOST_FILESYSTEM_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_filesystem IN LISTS _BOOST_FILESYSTEM_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_filesystem_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_filesystem_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_filesystem} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::filesystem APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_filesystem})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_filesystem}_FOUND)
|
||||
set(boost_filesystem_FOUND 0)
|
||||
set(boost_filesystem_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_filesystem}, has not been found.")
|
||||
unset(_BOOST_FILESYSTEM_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_FILESYSTEM_DEPS)
|
||||
|
||||
mark_as_advanced(boost_filesystem_DIR)
|
||||
@@ -0,0 +1,90 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_filesystem.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_filesystem.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_filesystem.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_filesystem.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_filesystem.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_filesystem.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_filesystem.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::filesystem
|
||||
|
||||
if(NOT TARGET Boost::filesystem)
|
||||
add_library(Boost::filesystem SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::filesystem PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_filesystem.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::filesystem IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::filesystem already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_filesystem.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::filesystem APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::filesystem PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_filesystem.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::filesystem PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::filesystem APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_FILESYSTEM_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_FILESYSTEM_DEPS headers)
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,36 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::headers)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_headers ${boost_headers_VERSION} at ${boost_headers_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
|
||||
add_library(Boost::headers INTERFACE IMPORTED)
|
||||
|
||||
set_target_properties(Boost::headers PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
mark_as_advanced(boost_headers_DIR)
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::log)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_log ${boost_log_VERSION} at ${boost_log_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_log-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_log-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::log)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_log_FOUND 0)
|
||||
set(boost_log_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_LOG_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_LOG_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_LOG_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_log dependencies: ${_BOOST_LOG_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_log IN LISTS _BOOST_LOG_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_log_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_log_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_log} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::log APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_log})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_log}_FOUND)
|
||||
set(boost_log_FOUND 0)
|
||||
set(boost_log_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_log}, has not been found.")
|
||||
unset(_BOOST_LOG_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_LOG_DEPS)
|
||||
|
||||
mark_as_advanced(boost_log_DIR)
|
||||
@@ -0,0 +1,98 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_log.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_log.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_log.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_log.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_log.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_log.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_log.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::log
|
||||
|
||||
if(NOT TARGET Boost::log)
|
||||
add_library(Boost::log SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::log PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_log.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::log IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::log already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_log.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::log APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::log PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_log.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::log PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::log APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_LOG_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_LOG_DEPS atomic chrono filesystem regex thread headers)
|
||||
|
||||
if(CMAKE_CONFIGURATION_TYPES)
|
||||
set_property(TARGET Boost::log APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||||
"$<$<CONFIG:release>:rt>")
|
||||
else()
|
||||
set_property(TARGET Boost::log APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||||
rt)
|
||||
endif()
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::log_setup)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_log_setup ${boost_log_setup_VERSION} at ${boost_log_setup_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_log_setup-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_log_setup-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::log_setup)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_log_setup_FOUND 0)
|
||||
set(boost_log_setup_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_LOG_SETUP_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_LOG_SETUP_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_LOG_SETUP_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_log_setup dependencies: ${_BOOST_LOG_SETUP_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_log_setup IN LISTS _BOOST_LOG_SETUP_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_log_setup_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_log_setup_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_log_setup} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::log_setup APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_log_setup})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_log_setup}_FOUND)
|
||||
set(boost_log_setup_FOUND 0)
|
||||
set(boost_log_setup_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_log_setup}, has not been found.")
|
||||
unset(_BOOST_LOG_SETUP_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_LOG_SETUP_DEPS)
|
||||
|
||||
mark_as_advanced(boost_log_setup_DIR)
|
||||
@@ -0,0 +1,98 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_log_setup.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_log_setup.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_log_setup.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_log_setup.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_log_setup.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_log_setup.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_log_setup.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::log_setup
|
||||
|
||||
if(NOT TARGET Boost::log_setup)
|
||||
add_library(Boost::log_setup SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::log_setup PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_log_setup.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::log_setup IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::log_setup already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_log_setup.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::log_setup APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::log_setup PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_log_setup.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::log_setup PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::log_setup APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_LOG_SETUP_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_LOG_SETUP_DEPS atomic chrono filesystem log regex thread headers)
|
||||
|
||||
if(CMAKE_CONFIGURATION_TYPES)
|
||||
set_property(TARGET Boost::log_setup APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||||
"$<$<CONFIG:release>:rt>")
|
||||
else()
|
||||
set_property(TARGET Boost::log_setup APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||||
rt)
|
||||
endif()
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::regex)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_regex ${boost_regex_VERSION} at ${boost_regex_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_regex-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_regex-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::regex)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_regex_FOUND 0)
|
||||
set(boost_regex_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_REGEX_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_REGEX_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_REGEX_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_regex dependencies: ${_BOOST_REGEX_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_regex IN LISTS _BOOST_REGEX_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_regex_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_regex_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_regex} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::regex APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_regex})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_regex}_FOUND)
|
||||
set(boost_regex_FOUND 0)
|
||||
set(boost_regex_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_regex}, has not been found.")
|
||||
unset(_BOOST_REGEX_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_REGEX_DEPS)
|
||||
|
||||
mark_as_advanced(boost_regex_DIR)
|
||||
@@ -0,0 +1,90 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_regex.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_regex.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_regex.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_regex.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_regex.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_regex.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_regex.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::regex
|
||||
|
||||
if(NOT TARGET Boost::regex)
|
||||
add_library(Boost::regex SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::regex PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_regex.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::regex IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::regex already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_regex.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::regex APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::regex PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_regex.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::regex PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::regex APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_REGEX_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_REGEX_DEPS headers)
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::system)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_system ${boost_system_VERSION} at ${boost_system_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_system-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_system-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::system)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_system_FOUND 0)
|
||||
set(boost_system_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_SYSTEM_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_SYSTEM_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_SYSTEM_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_system dependencies: ${_BOOST_SYSTEM_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_system IN LISTS _BOOST_SYSTEM_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_system_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_system_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_system} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::system APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_system})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_system}_FOUND)
|
||||
set(boost_system_FOUND 0)
|
||||
set(boost_system_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_system}, has not been found.")
|
||||
unset(_BOOST_SYSTEM_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SYSTEM_DEPS)
|
||||
|
||||
mark_as_advanced(boost_system_DIR)
|
||||
@@ -0,0 +1,90 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_system.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_system.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_system.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_system.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_system.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_system.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_system.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::system
|
||||
|
||||
if(NOT TARGET Boost::system)
|
||||
add_library(Boost::system SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::system PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_system.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::system IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::system already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_system.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::system APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::system PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_system.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::system PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::system APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_SYSTEM_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_SYSTEM_DEPS headers)
|
||||
@@ -0,0 +1,12 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
set(PACKAGE_VERSION 1.75.0)
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,119 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
if(TARGET Boost::thread)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Found boost_thread ${boost_thread_VERSION} at ${boost_thread_DIR}")
|
||||
endif()
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
|
||||
|
||||
# If the computed and the original directories are symlink-equivalent, use original
|
||||
if(EXISTS "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake" REALPATH)
|
||||
if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
|
||||
set(_BOOST_CMAKEDIR "/home/huaxu/develop/someip/SOMEIP/install/boost_1_75_0/lib/cmake")
|
||||
endif()
|
||||
unset(_BOOST_CMAKEDIR_ORIGINAL)
|
||||
endif()
|
||||
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.75.0.cmake)
|
||||
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_thread-variant*.cmake")
|
||||
endif()
|
||||
|
||||
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_thread-variant*.cmake")
|
||||
|
||||
macro(_BOOST_SKIPPED fname reason)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [ ] ${fname}")
|
||||
endif()
|
||||
list(APPEND __boost_skipped "${fname} (${reason})")
|
||||
endmacro()
|
||||
|
||||
list(LENGTH __boost_variants _BOOST_SINGLE_VARIANT)
|
||||
if(NOT _BOOST_SINGLE_VARIANT EQUAL 1)
|
||||
set(_BOOST_SINGLE_VARIANT 0)
|
||||
endif()
|
||||
|
||||
foreach(f IN LISTS __boost_variants)
|
||||
if(Boost_DEBUG)
|
||||
message(STATUS " Including ${f}")
|
||||
endif()
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_SINGLE_VARIANT)
|
||||
unset(_BOOST_LIBDIR)
|
||||
unset(_BOOST_INCLUDEDIR)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
|
||||
if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))
|
||||
message(STATUS " Library has no variants and is considered not found")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET Boost::thread)
|
||||
set(__boost_message "No suitable build variant has been found.")
|
||||
if(__boost_skipped)
|
||||
set(__boost_message "${__boost_message}\nThe following variants have been tried and rejected:")
|
||||
foreach(s IN LISTS __boost_skipped)
|
||||
set(__boost_message "${__boost_message}\n* ${s}")
|
||||
endforeach()
|
||||
endif()
|
||||
set(boost_thread_FOUND 0)
|
||||
set(boost_thread_NOT_FOUND_MESSAGE ${__boost_message})
|
||||
unset(__boost_message)
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
unset(_BOOST_THREAD_DEPS)
|
||||
return()
|
||||
endif()
|
||||
|
||||
unset(__boost_skipped)
|
||||
unset(__boost_variants)
|
||||
|
||||
if(_BOOST_THREAD_DEPS)
|
||||
list(REMOVE_DUPLICATES _BOOST_THREAD_DEPS)
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS "Adding boost_thread dependencies: ${_BOOST_THREAD_DEPS}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(dep_boost_thread IN LISTS _BOOST_THREAD_DEPS)
|
||||
set(_BOOST_QUIET)
|
||||
if(boost_thread_FIND_QUIETLY)
|
||||
set(_BOOST_QUIET QUIET)
|
||||
endif()
|
||||
set(_BOOST_REQUIRED)
|
||||
if(boost_thread_FIND_REQUIRED)
|
||||
set(_BOOST_REQUIRED REQUIRED)
|
||||
endif()
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
find_package(boost_${dep_boost_thread} 1.75.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
|
||||
set_property(TARGET Boost::thread APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_thread})
|
||||
unset(_BOOST_QUIET)
|
||||
unset(_BOOST_REQUIRED)
|
||||
unset(_BOOST_CMAKEDIR)
|
||||
if(NOT boost_${dep_boost_thread}_FOUND)
|
||||
set(boost_thread_FOUND 0)
|
||||
set(boost_thread_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_thread}, has not been found.")
|
||||
unset(_BOOST_THREAD_DEPS)
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_BOOST_THREAD_DEPS)
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(Threads)
|
||||
set_property(TARGET Boost::thread APPEND PROPERTY INTERFACE_LINK_LIBRARIES Threads::Threads)
|
||||
|
||||
mark_as_advanced(boost_thread_DIR)
|
||||
@@ -0,0 +1,90 @@
|
||||
# Generated by Boost 1.75.0
|
||||
|
||||
# address-model=64
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
_BOOST_SKIPPED("libboost_thread.so.1.75.0" "64 bit, need 32")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# layout=system
|
||||
|
||||
# toolset=gcc10
|
||||
|
||||
# link=shared
|
||||
|
||||
if(DEFINED Boost_USE_STATIC_LIBS)
|
||||
if(Boost_USE_STATIC_LIBS)
|
||||
_BOOST_SKIPPED("libboost_thread.so.1.75.0" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
if(WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
||||
_BOOST_SKIPPED("libboost_thread.so.1.75.0" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# runtime-link=shared
|
||||
|
||||
if(Boost_USE_STATIC_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_thread.so.1.75.0" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# runtime-debugging=off
|
||||
|
||||
if(Boost_USE_DEBUG_RUNTIME)
|
||||
_BOOST_SKIPPED("libboost_thread.so.1.75.0" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# threading=multi
|
||||
|
||||
# variant=release
|
||||
|
||||
if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
|
||||
_BOOST_SKIPPED("libboost_thread.so.1.75.0" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(Boost_VERBOSE OR Boost_DEBUG)
|
||||
message(STATUS " [x] libboost_thread.so.1.75.0")
|
||||
endif()
|
||||
|
||||
# Create imported target Boost::thread
|
||||
|
||||
if(NOT TARGET Boost::thread)
|
||||
add_library(Boost::thread SHARED IMPORTED)
|
||||
|
||||
set_target_properties(Boost::thread PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
endif()
|
||||
|
||||
# Target file name: libboost_thread.so.1.75.0
|
||||
|
||||
get_target_property(__boost_imploc Boost::thread IMPORTED_LOCATION_RELEASE)
|
||||
if(__boost_imploc)
|
||||
message(SEND_ERROR "Target Boost::thread already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_thread.so.1.75.0'")
|
||||
endif()
|
||||
unset(__boost_imploc)
|
||||
|
||||
set_property(TARGET Boost::thread APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
|
||||
set_target_properties(Boost::thread PROPERTIES
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
|
||||
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_thread.so.1.75.0"
|
||||
)
|
||||
|
||||
set_target_properties(Boost::thread PROPERTIES
|
||||
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
||||
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
||||
)
|
||||
|
||||
set_property(TARGET Boost::thread APPEND
|
||||
PROPERTY INTERFACE_COMPILE_DEFINITIONS "BOOST_THREAD_DYN_LINK"
|
||||
)
|
||||
|
||||
list(APPEND _BOOST_THREAD_DEPS headers)
|
||||
Reference in New Issue
Block a user