86 lines
2.2 KiB
CMake
86 lines
2.2 KiB
CMake
# Generated by Boost 1.80.0
|
|
|
|
# address-model=32
|
|
|
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
_BOOST_SKIPPED("libboost_regex.a" "32 bit, need 64")
|
|
return()
|
|
endif()
|
|
|
|
# layout=system
|
|
|
|
# toolset=clang
|
|
|
|
# link=static
|
|
|
|
if(DEFINED Boost_USE_STATIC_LIBS)
|
|
if(NOT Boost_USE_STATIC_LIBS)
|
|
_BOOST_SKIPPED("libboost_regex.a" "static, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
|
|
return()
|
|
endif()
|
|
else()
|
|
if(NOT WIN32 AND NOT _BOOST_SINGLE_VARIANT)
|
|
_BOOST_SKIPPED("libboost_regex.a" "static, default is shared, set Boost_USE_STATIC_LIBS=ON to override")
|
|
return()
|
|
endif()
|
|
endif()
|
|
|
|
# runtime-link=shared
|
|
|
|
if(Boost_USE_STATIC_RUNTIME)
|
|
_BOOST_SKIPPED("libboost_regex.a" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
|
|
return()
|
|
endif()
|
|
|
|
# runtime-debugging=off
|
|
|
|
if(Boost_USE_DEBUG_RUNTIME)
|
|
_BOOST_SKIPPED("libboost_regex.a" "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.a" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
|
|
return()
|
|
endif()
|
|
|
|
if(Boost_VERBOSE OR Boost_DEBUG)
|
|
message(STATUS " [x] libboost_regex.a")
|
|
endif()
|
|
|
|
# Create imported target Boost::regex
|
|
|
|
if(NOT TARGET Boost::regex)
|
|
add_library(Boost::regex STATIC IMPORTED)
|
|
|
|
set_target_properties(Boost::regex PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
|
INTERFACE_COMPILE_DEFINITIONS "BOOST_REGEX_NO_LIB"
|
|
)
|
|
endif()
|
|
|
|
# Target file name: libboost_regex.a
|
|
|
|
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.a'")
|
|
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.a"
|
|
)
|
|
|
|
set_target_properties(Boost::regex PROPERTIES
|
|
MAP_IMPORTED_CONFIG_MINSIZEREL Release
|
|
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
|
|
)
|
|
|
|
list(APPEND _BOOST_REGEX_DEPS headers)
|