ya.make 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # Generated by devtools/yamaker.
  2. LIBRARY()
  3. WITHOUT_LICENSE_TEXTS()
  4. VERSION(1.86.0)
  5. ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.86.0.tar.gz)
  6. LICENSE(BSL-1.0)
  7. SET(BOOST_CONTEXT_ABI sysv)
  8. SET(BOOST_CONTEXT_ARCHITECTURE x86_64)
  9. SET(BOOST_CONTEXT_ASM_EXT .S)
  10. SET(BOOST_CONTEXT_ASSEMBLER gas)
  11. SET(BOOST_CONTEXT_BINARY_FORMAT elf)
  12. PEERDIR(
  13. contrib/restricted/boost/context/impl_common
  14. )
  15. NO_COMPILER_WARNINGS()
  16. NO_UTIL()
  17. IF (OS_WINDOWS)
  18. IF (DYNAMIC_BOOST)
  19. MASMFLAGS(/DBOOST_CONTEXT_EXPORT=EXPORT)
  20. ELSE()
  21. MASMFLAGS(/DBOOST_CONTEXT_EXPORT=)
  22. ENDIF()
  23. ENDIF()
  24. SRCDIR(contrib/restricted/boost/context/src)
  25. IF (OS_DARWIN OR OS_IOS)
  26. SET(BOOST_CONTEXT_BINARY_FORMAT macho)
  27. ELSEIF (OS_WINDOWS)
  28. SET(BOOST_CONTEXT_ABI ms)
  29. SET(BOOST_CONTEXT_ASM_EXT .masm)
  30. SET(BOOST_CONTEXT_ASSEMBLER masm)
  31. SET(BOOST_CONTEXT_BINARY_FORMAT pe)
  32. IF (ARCH_ARM)
  33. SET(BOOST_CONTEXT_ASSEMBLER armasm)
  34. ELSEIF (ARCH_I386)
  35. MASMFLAGS(/safeseh)
  36. ENDIF()
  37. ENDIF()
  38. IF (ARCH_ARM)
  39. SET(BOOST_CONTEXT_ABI aapcs)
  40. ENDIF()
  41. IF (ARCH_ARM64)
  42. SET(BOOST_CONTEXT_ARCHITECTURE arm64)
  43. ELSEIF (ARCH_ARM7)
  44. SET(BOOST_CONTEXT_ARCHITECTURE arm)
  45. ELSEIF (ARCH_I386)
  46. SET(BOOST_CONTEXT_ARCHITECTURE i386)
  47. ENDIF()
  48. SET(BOOST_CONTEXT_ASM_SUFFIX ${BOOST_CONTEXT_ARCHITECTURE}_${BOOST_CONTEXT_ABI}_${BOOST_CONTEXT_BINARY_FORMAT}_${BOOST_CONTEXT_ASSEMBLER}${BOOST_CONTEXT_ASM_EXT})
  49. SRCS(
  50. asm/jump_${BOOST_CONTEXT_ASM_SUFFIX}
  51. asm/make_${BOOST_CONTEXT_ASM_SUFFIX}
  52. asm/ontop_${BOOST_CONTEXT_ASM_SUFFIX}
  53. )
  54. END()