Skip to content

Commit 3b369bc

Browse files
committed
cmake file for darwin aarch64
1 parent 9cf9994 commit 3b369bc

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
if(setjmp_config_options)
2+
list(PREPEND setjmp_config_options "COMPILE_OPTIONS")
3+
endif()
4+
5+
add_entrypoint_object(
6+
setjmp
7+
SRCS
8+
setjmp.cpp
9+
HDRS
10+
../../setjmp_impl.h
11+
DEPENDS
12+
libc.hdr.types.jmp_buf
13+
${setjmp_config_options}
14+
)
15+
16+
add_entrypoint_object(
17+
longjmp
18+
SRCS
19+
longjmp.cpp
20+
HDRS
21+
../../longjmp.h
22+
DEPENDS
23+
libc.hdr.types.jmp_buf
24+
${setjmp_config_options}
25+
)
26+
27+
add_entrypoint_object(
28+
sigsetjmp
29+
SRCS
30+
sigsetjmp.cpp
31+
HDRS
32+
../../sigsetjmp.h
33+
DEPENDS
34+
libc.hdr.types.jmp_buf
35+
libc.hdr.types.sigset_t
36+
libc.hdr.offsetof_macros
37+
libc.src.setjmp.sigsetjmp_epilogue
38+
libc.src.setjmp.setjmp
39+
)
40+
add_object_library(
41+
sigsetjmp_epilogue
42+
HDRS
43+
../../sigsetjmp_epilogue.h
44+
SRCS
45+
sigsetjmp_epilogue.cpp
46+
DEPENDS
47+
libc.src.__support.common
48+
libc.src.__support.OSUtil.osutil
49+
libc.hdr.types.jmp_buf
50+
libc.hdr.types.sigset_t
51+
)

0 commit comments

Comments
 (0)