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