CMakeLists.txt
639 Bytes
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
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
add_subdirectory(${LIBC_TARGET_OS})
endif()
add_entrypoint_object(
call_once
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.call_once
)
add_entrypoint_object(
thrd_create
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.thrd_create
)
add_entrypoint_object(
thrd_join
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.thrd_join
)
add_entrypoint_object(
mtx_init
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.mtx_init
)
add_entrypoint_object(
mtx_lock
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.mtx_lock
)
add_entrypoint_object(
mtx_unlock
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.mtx_unlock
)