[libc] Add implementation of errno and define the other macros of errno.h.
[lldb.git] / libc / lib / CMakeLists.txt
1
2 add_entrypoint_library(
3   llvmlibc
4   DEPENDS
5     # errno.h entrypoints
6     __errno_location
7
8     # string.h entrypoints
9     strcpy
10     strcat
11 )
12
13 add_entrypoint_library(
14   llvmlibm
15   DEPENDS
16     # math.h entrypoints
17     round
18 )
19
20 add_redirector_library(
21   llvmlibc_redirectors
22   DEPENDS
23     round_redirector
24 )