libboost_context-variant-vc142-mt-gd-x64-1_76-static.cmake 3.1 KB

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