aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/context/ucontext_impl/ya.make
blob: 8c9ce98e9b10d374daf2145e176dba132ed47d5a (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.87.0)

ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.87.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()