libboost_python-variant-vc142-mt-sgd-x64-1_72-static-py3.8.cmake 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # Generated by Boost 1.72.0
  2. # address-model=64
  3. if(CMAKE_SIZEOF_VOID_P EQUAL 4)
  4. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.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_python38-vc142-mt-sgd-x64-1_72.lib" "3.8, Boost_PYTHON_VERSION=${Boost_PYTHON_VERSION}")
  12. return()
  13. endif()
  14. endif()
  15. # layout=versioned
  16. # toolset=vc142
  17. if(Boost_COMPILER)
  18. if(NOT Boost_COMPILER STREQUAL "vc142" AND NOT Boost_COMPILER STREQUAL "-vc142")
  19. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "vc142, Boost_COMPILER=${Boost_COMPILER}")
  20. return()
  21. endif()
  22. else()
  23. if(BOOST_DETECTED_TOOLSET AND NOT BOOST_DETECTED_TOOLSET STREQUAL "vc142")
  24. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "vc142, detected ${BOOST_DETECTED_TOOLSET}, set Boost_COMPILER to override")
  25. return()
  26. endif()
  27. endif()
  28. # link=static
  29. if(DEFINED Boost_USE_STATIC_LIBS)
  30. if(NOT Boost_USE_STATIC_LIBS)
  31. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "static, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
  32. return()
  33. endif()
  34. else()
  35. if(NOT WIN32)
  36. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "static, default is shared, set Boost_USE_STATIC_LIBS=ON to override")
  37. return()
  38. endif()
  39. endif()
  40. # runtime-link=static
  41. if(NOT Boost_USE_STATIC_RUNTIME)
  42. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "static runtime, Boost_USE_STATIC_RUNTIME not ON")
  43. return()
  44. endif()
  45. # runtime-debugging=on
  46. if(NOT "${Boost_USE_DEBUG_RUNTIME}" STREQUAL "" AND NOT Boost_USE_DEBUG_RUNTIME)
  47. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "debug runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
  48. return()
  49. endif()
  50. # threading=multi
  51. if(NOT "${Boost_USE_MULTITHREADED}" STREQUAL "" AND NOT Boost_USE_MULTITHREADED)
  52. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "multithreaded, Boost_USE_MULTITHREADED=${Boost_USE_MULTITHREADED}")
  53. return()
  54. endif()
  55. # variant=debug
  56. if(NOT "${Boost_USE_DEBUG_LIBS}" STREQUAL "" AND NOT Boost_USE_DEBUG_LIBS)
  57. _BOOST_SKIPPED("libboost_python38-vc142-mt-sgd-x64-1_72.lib" "debug, Boost_USE_DEBUG_LIBS=${Boost_USE_DEBUG_LIBS}")
  58. return()
  59. endif()
  60. if(Boost_VERBOSE OR Boost_DEBUG)
  61. message(STATUS " [x] libboost_python38-vc142-mt-sgd-x64-1_72.lib")
  62. endif()
  63. # Target file name: libboost_python38-vc142-mt-sgd-x64-1_72.lib
  64. get_target_property(__boost_imploc Boost::python IMPORTED_LOCATION_DEBUG)
  65. if(__boost_imploc)
  66. message(WARNING "Target Boost::python already has an imported location '${__boost_imploc}', which will be overwritten with '${_BOOST_LIBDIR}/libboost_python38-vc142-mt-sgd-x64-1_72.lib'")
  67. endif()
  68. unset(__boost_imploc)
  69. set_property(TARGET Boost::python APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
  70. set_target_properties(Boost::python PROPERTIES
  71. IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG CXX
  72. IMPORTED_LOCATION_DEBUG "${_BOOST_LIBDIR}/libboost_python38-vc142-mt-sgd-x64-1_72.lib"
  73. )
  74. list(APPEND _BOOST_PYTHON_DEPS headers)