add boost on mac

This commit is contained in:
Bassem Girgis
2019-08-10 16:38:17 -05:00
parent 861b918727
commit be945cb63b
14105 changed files with 2714968 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Generated by Boost 1.70.0
set(PACKAGE_VERSION 1.70.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()

View File

@@ -0,0 +1,98 @@
# Generated by Boost 1.70.0
if(TARGET Boost::python)
return()
endif()
message(STATUS "Found boost_python ${boost_python_VERSION} at ${boost_python_DIR}")
# Compute the include and library directories relative to this file.
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
# Create imported target Boost::python
add_library(Boost::python UNKNOWN IMPORTED)
set_target_properties(Boost::python PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
)
include(${CMAKE_CURRENT_LIST_DIR}/../BoostDetectToolset-1.70.0.cmake)
if(Boost_DEBUG)
message(STATUS "Scanning ${CMAKE_CURRENT_LIST_DIR}/libboost_python-variant*.cmake")
endif()
file(GLOB __boost_variants "${CMAKE_CURRENT_LIST_DIR}/libboost_python-variant*.cmake")
macro(_BOOST_SKIPPED fname reason)
if(Boost_DEBUG)
message(STATUS " ... skipped ${fname} (${reason})")
endif()
list(APPEND __boost_skipped "${fname} (${reason})")
endmacro()
foreach(f IN LISTS __boost_variants)
if(Boost_DEBUG)
message(STATUS " Including ${f}")
endif()
include(${f})
endforeach()
unset(_BOOST_LIBDIR)
unset(_BOOST_INCLUDEDIR)
unset(_BOOST_CMAKEDIR)
get_target_property(__boost_configs Boost::python IMPORTED_CONFIGURATIONS)
if(__boost_variants AND NOT __boost_configs)
message(STATUS "No suitable boost_python variant has been identified!")
if(NOT Boost_DEBUG)
foreach(s IN LISTS __boost_skipped)
message(STATUS " ${s}")
endforeach()
endif()
set(boost_python_FOUND 0)
set(boost_python_NOT_FOUND_MESSAGE "No suitable build variant has been found.")
unset(__boost_skipped)
unset(__boost_configs)
unset(__boost_variants)
unset(_BOOST_PYTHON_DEPS)
return()
endif()
unset(__boost_skipped)
unset(__boost_configs)
unset(__boost_variants)
if(_BOOST_PYTHON_DEPS)
list(REMOVE_DUPLICATES _BOOST_PYTHON_DEPS)
message(STATUS "Adding boost_python dependencies: ${_BOOST_PYTHON_DEPS}")
endif()
foreach(dep_boost_python IN LISTS _BOOST_PYTHON_DEPS)
set(_BOOST_QUIET)
if(boost_python_FIND_QUIETLY)
set(_BOOST_QUIET QUIET)
endif()
set(_BOOST_REQUIRED)
if(boost_python_FIND_REQUIRED)
set(_BOOST_REQUIRED REQUIRED)
endif()
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
find_package(boost_${dep_boost_python} 1.70.0 EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
set_property(TARGET Boost::python APPEND PROPERTY INTERFACE_LINK_LIBRARIES Boost::${dep_boost_python})
unset(_BOOST_QUIET)
unset(_BOOST_REQUIRED)
unset(_BOOST_CMAKEDIR)
if(NOT boost_${dep_boost_python}_FOUND)
set(boost_python_FOUND 0)
set(boost_python_NOT_FOUND_MESSAGE "A required dependency, boost_${dep_boost_python}, has not been found.")
unset(_BOOST_PYTHON_DEPS)
return()
endif()
endforeach()
unset(_BOOST_PYTHON_DEPS)

View File

@@ -0,0 +1,62 @@
# Generated by Boost 1.70.0
# address-model=64
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
_BOOST_SKIPPED("libboost_python27.dylib" "64 bit, need 32")
return()
endif()
# layout=system
# toolset=xgcc42
# link=shared
if(NOT "${Boost_USE_STATIC_LIBS}" STREQUAL "" AND Boost_USE_STATIC_LIBS)
_BOOST_SKIPPED("libboost_python27.dylib" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
return()
endif()
if(NOT BUILD_SHARED_LIBS)
_BOOST_SKIPPED("libboost_python27.dylib" "shared, BUILD_SHARED_LIBS not ON, set Boost_USE_STATIC_LIBS=OFF to override")
return()
endif()
# runtime-link=shared
if(Boost_USE_STATIC_RUNTIME)
_BOOST_SKIPPED("libboost_python27.dylib" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
return()
endif()
# runtime-debugging=off
if(Boost_USE_DEBUG_RUNTIME)
_BOOST_SKIPPED("libboost_python27.dylib" "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_python27.dylib" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
return()
endif()
message(STATUS " libboost_python27.dylib")
# Target file name: libboost_python27.dylib
set_property(TARGET Boost::python APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(Boost::python PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_python27.dylib"
)
set_target_properties(Boost::python PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "BOOST_PYTHON_DYN_LINK"
)
list(APPEND _BOOST_PYTHON_DEPS headers)

View File

@@ -0,0 +1,58 @@
# Generated by Boost 1.70.0
# address-model=64
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
_BOOST_SKIPPED("libboost_python27.a" "64 bit, need 32")
return()
endif()
# layout=system
# toolset=xgcc42
# link=static
if(NOT "${Boost_USE_STATIC_LIBS}" STREQUAL "" AND NOT Boost_USE_STATIC_LIBS)
_BOOST_SKIPPED("libboost_python27.a" "static, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
return()
endif()
if(BUILD_SHARED_LIBS)
_BOOST_SKIPPED("libboost_python27.a" "static, BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}, set Boost_USE_STATIC_LIBS=ON to override")
return()
endif()
# runtime-link=shared
if(Boost_USE_STATIC_RUNTIME)
_BOOST_SKIPPED("libboost_python27.a" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
return()
endif()
# runtime-debugging=off
if(Boost_USE_DEBUG_RUNTIME)
_BOOST_SKIPPED("libboost_python27.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_python27.a" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
return()
endif()
message(STATUS " libboost_python27.a")
# Target file name: libboost_python27.a
set_property(TARGET Boost::python APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(Boost::python PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_python27.a"
)
list(APPEND _BOOST_PYTHON_DEPS headers)