aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/context/ucontext_impl/ya.make
blob: 1898c6414915cd653de5b6586903891c4bf95449 (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
# Generated by devtools/yamaker.

LIBRARY()

WITHOUT_LICENSE_TEXTS()

VERSION(1.83.0)

ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.83.0.tar.gz)

LICENSE(BSL-1.0)

PEERDIR(
    contrib/restricted/boost/context/impl_common
    library/cpp/sanitizer/include
)

ADDINCL(
    contrib/restricted/boost/context/include
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    GLOBAL -DBOOST_USE_UCONTEXT
    -DBOOST_CONTEXT_SOURCE
)

IF (SANITIZER_TYPE == "address")
    CFLAGS(
        GLOBAL -DBOOST_USE_ASAN
    )
ELSEIF (SANITIZER_TYPE == "thread")
    CFLAGS(
        GLOBAL -DBOOST_USE_TSAN
    )
ENDIF()

SRCDIR(contrib/restricted/boost/context/src)

SRCS(
    continuation.cpp
    fiber.cpp
)

END()