libboost_coroutine-variant-vc142-mt-x64-1_72-shared.cmake 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # Generated by Boost 1.72.0
  2. # address-model=64
  3. if(CMAKE_SIZEOF_VOID_P EQUAL 4)
  4. _BOOST_SKIPPED("boost_coroutine-vc142-mt-x64-1_72.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("boost_coroutine-vc142-mt-x64-1_72.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("boost_coroutine-vc142-mt-x64-1_72.lib" "vc142, detected ${BOOST_DETECTED_TOOLSET}, set Boost_COMPILER to override")
  17. return()
  18. endif()
  19. endif()
  20. # link=shared
  21. if(DEFINED Boost_USE_STATIC_LIBS)
  22. if(Boost_USE_STATIC_LIBS)
  23. _BOOST_SKIPPED("boost_coroutine-vc142-mt-x64-1_72.lib" "shared, Boost_USE_STATIC_LIBS=${Boost_USE_STATIC_LIBS}")
  24. return()
  25. endif()
  26. else()
  27. if(WIN32)
  28. _BOOST_SKIPPED("boost_coroutine-vc142-mt-x64-1_72.lib" "shared, default on Windows is static, set Boost_USE_STATIC_LIBS=OFF to override")
  29. return()
  30. endif()
  31. endif()
  32. # runtime-link=shared
  33. if(Boost_USE_STATIC_RUNTIME)
  34. _BOOST_SKIPPED("boost_coroutine-vc142-mt-x64-1_72.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("boost_coroutine-vc142-mt-x64-1_72.lib" "release runtime, Boost_USE_DEBUG_RUNTIME=${Boost_USE_DEBUG_RUNTIME}")
  40. return()
  41. endif()
  42. # threading=multi
  43. if(NOT "${Boost_USE_MULTITHREADED}" STREQUAL "" AND NOT Boost_USE_MULTITHREADED)
  44. _BOOST_SKIPPED("boost_coroutine-vc142-mt-x64-1_72.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("boost_coroutine-vc142-mt-x64-1_72.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] boost_coroutine-vc142-mt-x64-1_72.lib")
  54. endif()
  55. # Target file name: boost_coroutine-vc142-mt-x64-1_72.lib
  56. get_target_property(__boost_imploc Boost::coroutine IMPORTED_LOCATION_RELEASE)
  57. if(__boost_imploc)
  58. message(WARNING "Target Boost::coroutine already has an imported location '${__boost_imploc}', which will be overwritten with '${_BOOST_LIBDIR}/boost_coroutine-vc142-mt-x64-1_72.lib'")
  59. endif()
  60. unset(__boost_imploc)
  61. set_property(TARGET Boost::coroutine APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
  62. set_target_properties(Boost::coroutine PROPERTIES
  63. IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX
  64. IMPORTED_LOCATION_RELEASE "${_BOOST_LIBDIR}/boost_coroutine-vc142-mt-x64-1_72.lib"
  65. )
  66. set_target_properties(Boost::coroutine PROPERTIES
  67. MAP_IMPORTED_CONFIG_MINSIZEREL Release
  68. MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
  69. )
  70. set_target_properties(Boost::coroutine PROPERTIES
  71. INTERFACE_COMPILE_DEFINITIONS "BOOST_COROUTINE_DYN_LINK"
  72. )
  73. list(APPEND _BOOST_COROUTINE_DEPS chrono context thread headers)