xref: /llvm-project/libc/src/inttypes/CMakeLists.txt (revision d49b993f0d563932f72f435a95c315120e8b1aeb)
1add_entrypoint_object(
2  strtoimax
3  SRCS
4    strtoimax.cpp
5  HDRS
6    strtoimax.h
7  DEPENDS
8    libc.src.__support.str_to_integer
9    libc.src.errno.errno
10)
11
12add_entrypoint_object(
13  strtoumax
14  SRCS
15    strtoumax.cpp
16  HDRS
17    strtoumax.h
18  DEPENDS
19    libc.src.__support.str_to_integer
20    libc.src.errno.errno
21)
22
23add_entrypoint_object(
24  imaxdiv
25  SRCS
26    imaxdiv.cpp
27  HDRS
28    imaxdiv.h
29  DEPENDS
30    libc.include.inttypes
31    libc.src.__support.integer_operations
32)
33
34add_entrypoint_object(
35  imaxabs
36  SRCS
37    imaxabs.cpp
38  HDRS
39    imaxabs.h
40  DEPENDS
41    libc.include.inttypes
42    libc.src.__support.integer_operations
43)
44