91 lines
2.4 KiB
CMake
91 lines
2.4 KiB
CMake
# Generated by Boost 1.90.0
|
|||
|
|
|
||
|
|
# address-model=64
|
||
|
|
|
||
|
|
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||
|
|
_BOOST_SKIPPED("libboost_regex.so.1.90.0" "64 bit, need 32")
|
||
|
|
return()
|
||
|
|
endif()
|
||
|
|
|
||
|
|
# layout=system
|
||
|
|
|
||
|
|
# toolset=gcc15
|
||
|
|
|
||
|
|
# link=shared
|
||
|
|
|
||
|
|
if(DEFINED Boost_USE_STATIC_LIBS)
|
||
|
|
if(Boost_USE_STATIC_LIBS)
|
||
|
|
_BOOST_SKIPPED("libboost_regex.so.1.90.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.90.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.90.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.90.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.90.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.90.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_REGEX_NO_LIB"
|
||
|
|
)
|
||
|
|
endif()
|
||
|
|
|
||
|
|
# Target file name: libboost_regex.so.1.90.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.90.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.90.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)
|