libboost_numpy-variant-vc142-mt-gd-x64-1_76-static-py3.8.cmake 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. # Generated by Boost 1.76.0
  2. # address-model=64
  3. if(CMAKE_SIZEOF_VOID_P EQUAL 4)
  4. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "64 bit, need 32")
  5. return()
  6. endif()
  7. # python=3.8
  8. if(Boost_PYTHON_VERSION)
  9. string(REGEX REPLACE "([0-9]+[.][0-9]+)([.].*)?" "\\1" __boost_pyver ${Boost_PYTHON_VERSION})
  10. if(NOT __boost_pyver VERSION_EQUAL "3.8")
  11. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "3.8, Boost_PYTHON_VERSION=${Boost_PYTHON_VERSION}")
  12. return()
  13. endif()
  14. endif()
  15. if(Boost_PYTHON_VERSION_MAJOR)
  16. if(NOT "3.8" MATCHES "^${Boost_PYTHON_VERSION_MAJOR}[.]")
  17. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "3.8, Boost_PYTHON_VERSION_MAJOR=${Boost_PYTHON_VERSION_MAJOR}")
  18. return()
  19. endif()
  20. endif()
  21. # layout=versioned
  22. # toolset=vc142
  23. if(Boost_COMPILER)
  24. if(NOT Boost_COMPILER STREQUAL "vc142" AND NOT Boost_COMPILER STREQUAL "-vc142")
  25. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "vc142, Boost_COMPILER=${Boost_COMPILER}")
  26. return()
  27. endif()
  28. else()
  29. if(BOOST_DETECTED_TOOLSET AND NOT BOOST_DETECTED_TOOLSET STREQUAL "vc142")
  30. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "vc142, detected ${BOOST_DETECTED_TOOLSET}, set Boost_COMPILER to override")
  31. return()
  32. endif()
  33. endif()
  34. # link=static
  35. if(DEFINED Boost_USE_STATIC_LIBS)
  36. if(NOT Boost_USE_STATIC_LIBS)
  37. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "static, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
  38. return()
  39. endif()
  40. else()
  41. if(NOT WIN32 AND NOT _BOOST_SINGLE_VARIANT)
  42. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "static, default is shared, set Boost_USE_STATIC_LIBS=ON to override")
  43. return()
  44. endif()
  45. endif()
  46. # runtime-link=shared
  47. if(Boost_USE_STATIC_RUNTIME)
  48. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
  49. return()
  50. endif()
  51. # runtime-debugging=on
  52. if(NOT "${Boost_USE_DEBUG_RUNTIME}" STREQUAL "" AND NOT Boost_USE_DEBUG_RUNTIME)
  53. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "debug runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
  54. return()
  55. endif()
  56. # threading=multi
  57. if(DEFINED Boost_USE_MULTITHREADED AND NOT Boost_USE_MULTITHREADED)
  58. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "multithreaded, Boost_USE_MULTITHREADED=${Boost_USE_MULTITHREADED}")
  59. return()
  60. endif()
  61. # variant=debug
  62. if(NOT "${Boost_USE_DEBUG_LIBS}" STREQUAL "" AND NOT Boost_USE_DEBUG_LIBS)
  63. _BOOST_SKIPPED("libboost_numpy38-vc142-mt-gd-x64-1_76.lib" "debug, Boost_USE_DEBUG_LIBS=${Boost_USE_DEBUG_LIBS}")
  64. return()
  65. endif()
  66. if(Boost_VERBOSE OR Boost_DEBUG)
  67. message(STATUS " [x] libboost_numpy38-vc142-mt-gd-x64-1_76.lib")
  68. endif()
  69. if(NOT Boost_PYTHON_VERSION)
  70. if(Boost_DEBUG)
  71. message(STATUS " Setting Boost_PYTHON_VERSION to 3.8")
  72. endif()
  73. set(Boost_PYTHON_VERSION "3.8")
  74. endif()
  75. # Create imported target Boost::numpy
  76. if(NOT TARGET Boost::numpy)
  77. add_library(Boost::numpy STATIC IMPORTED)
  78. set_target_properties(Boost::numpy PROPERTIES
  79. INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
  80. INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
  81. )
  82. endif()
  83. # Target file name: libboost_numpy38-vc142-mt-gd-x64-1_76.lib
  84. get_target_property(__boost_imploc Boost::numpy IMPORTED_LOCATION_DEBUG)
  85. if(__boost_imploc)
  86. message(SEND_ERROR "Target Boost::numpy already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_numpy38-vc142-mt-gd-x64-1_76.lib'")
  87. endif()
  88. unset(__boost_imploc)
  89. set_property(TARGET Boost::numpy APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
  90. set_target_properties(Boost::numpy PROPERTIES
  91. IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG CXX
  92. IMPORTED_LOCATION_DEBUG "${_BOOST_LIBDIR}/libboost_numpy38-vc142-mt-gd-x64-1_76.lib"
  93. )
  94. list(APPEND _BOOST_NUMPY_DEPS python headers)