-
Notifications
You must be signed in to change notification settings - Fork 10.8k
/
CMakeLists.txt
119 lines (112 loc) · 2.52 KB
/
CMakeLists.txt
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
add_libc_integration_test_suite(libc-threads-integration-tests)
add_integration_test(
mtx_test
SUITE
libc-threads-integration-tests
SRCS
mtx_test.cpp
DEPENDS
libc.include.threads
libc.src.errno.errno
libc.src.threads.mtx_destroy
libc.src.threads.mtx_init
libc.src.threads.mtx_lock
libc.src.threads.mtx_unlock
libc.src.threads.thrd_create
libc.src.threads.thrd_join
)
add_integration_test(
thrd_equal_test
SUITE
libc-threads-integration-tests
SRCS
thrd_equal_test.cpp
DEPENDS
libc.include.threads
libc.src.threads.mtx_destroy
libc.src.threads.mtx_init
libc.src.threads.mtx_lock
libc.src.threads.mtx_unlock
libc.src.threads.thrd_create
libc.src.threads.thrd_current
libc.src.threads.thrd_equal
libc.src.threads.thrd_join
)
add_integration_test(
thrd_test
SUITE
libc-threads-integration-tests
SRCS
thrd_test.cpp
DEPENDS
libc.include.threads
libc.src.errno.errno
libc.src.threads.thrd_create
libc.src.threads.thrd_join
)
add_integration_test(
thrd_exit_test
SUITE
libc-threads-integration-tests
SRCS
thrd_exit_test.cpp
DEPENDS
libc.include.threads
libc.src.threads.thrd_create
libc.src.threads.thrd_exit
libc.src.threads.thrd_join
)
add_integration_test(
tss_test
SUITE
libc-threads-integration-tests
SRCS
tss_test.cpp
DEPENDS
libc.include.threads
libc.src.threads.thrd_create
libc.src.threads.thrd_exit
libc.src.threads.thrd_join
libc.src.threads.tss_create
libc.src.threads.tss_delete
libc.src.threads.tss_get
libc.src.threads.tss_set
)
add_integration_test(
call_once_test
SUITE
libc-threads-integration-tests
SRCS
call_once_test.cpp
DEPENDS
libc.include.threads
libc.src.threads.call_once
libc.src.threads.mtx_destroy
libc.src.threads.mtx_init
libc.src.threads.mtx_lock
libc.src.threads.mtx_unlock
libc.src.threads.thrd_create
libc.src.threads.thrd_join
libc.src.__support.CPP.atomic
)
add_integration_test(
cnd_test
SUITE
libc-threads-integration-tests
SRCS
cnd_test.cpp
DEPENDS
libc.include.threads
libc.src.threads.cnd_init
libc.src.threads.cnd_broadcast
libc.src.threads.cnd_signal
libc.src.threads.cnd_destroy
libc.src.threads.cnd_wait
libc.src.threads.mtx_destroy
libc.src.threads.mtx_init
libc.src.threads.mtx_lock
libc.src.threads.mtx_unlock
libc.src.threads.thrd_create
libc.src.threads.thrd_join
libc.src.threads.linux.threads_utils
)