feat():initial version
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user