libboost_fiber-variant-vc142-mt-x64-1_76-static.cmake 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. # Generated by Boost 1.76.0
  2. # address-model=64
  3. if(CMAKE_SIZEOF_VOID_P EQUAL 4)
  4. _BOOST_SKIPPED("libboost_fiber-vc142-mt-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_fiber-vc142-mt-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_fiber-vc142-mt-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_fiber-vc142-mt-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_fiber-vc142-mt-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_fiber-vc142-mt-x64-1_76.lib" "shared runtime, Boost_USE_STATIC_RUNTIME=${Boost_USE_STATIC_RUNTIME}")
  35. return()
  36. endif()
  37. # runtime-debugging=off
  38. if(Boost_USE_DEBUG_RUNTIME)
  39. _BOOST_SKIPPED("libboost_fiber-vc142-mt-x64-1_76.lib" "release 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_fiber-vc142-mt-x64-1_76.lib" "multithreaded, Boost_USE_MULTITHREADED=${Boost_USE_MULTITHREADED}")
  45. return()
  46. endif()
  47. # variant=release
  48. if(NOT "${Boost_USE_RELEASE_LIBS}" STREQUAL "" AND NOT Boost_USE_RELEASE_LIBS)
  49. _BOOST_SKIPPED("libboost_fiber-vc142-mt-x64-1_76.lib" "release, Boost_USE_RELEASE_LIBS=${Boost_USE_RELEASE_LIBS}")
  50. return()
  51. endif()
  52. if(Boost_VERBOSE OR Boost_DEBUG)
  53. message(STATUS " [x] libboost_fiber-vc142-mt-x64-1_76.lib")
  54. endif()
  55. # Create imported target Boost::fiber
  56. if(NOT TARGET Boost::fiber)
  57. add_library(Boost::fiber STATIC IMPORTED)
  58. set_target_properties(Boost::fiber PROPERTIES
  59. INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
  60. INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
  61. )
  62. endif()
  63. # Target file name: libboost_fiber-vc142-mt-x64-1_76.lib
  64. get_target_property(__boost_imploc Boost::fiber IMPORTED_LOCATION_RELEASE)
  65. if(__boost_imploc)
  66. message(SEND_ERROR "Target Boost::fiber already has an imported location '${__boost_imploc}', which is being overwritten with '${_BOOST_LIBDIR}/libboost_fiber-vc142-mt-x64-1_76.lib'")
  67. endif()
  68. unset(__boost_imploc)
  69. set_property(TARGET Boost::fiber APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  70. set_target_properties(Boost::fiber PROPERTIES
  71. IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
  72. IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/libboost_fiber-vc142-mt-x64-1_76.lib"
  73. )
  74. set_target_properties(Boost::fiber PROPERTIES
  75. MAP_IMPORTED_CONFIG_MINSIZEREL Release
  76. MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
  77. )
  78. list(APPEND _BOOST_FIBER_DEPS context filesystem headers)
  79. if(CMAKE_CONFIGURATION_TYPES)
  80. set_property(TARGET Boost::fiber APPEND PROPERTY INTERFACE_LINK_LIBRARIES
  81. "$<$<CONFIG:release>:bcrypt>")
  82. else()
  83. set_property(TARGET Boost::fiber APPEND PROPERTY INTERFACE_LINK_LIBRARIES
  84. bcrypt)
  85. endif()