aboutsummaryrefslogtreecommitdiff
path: root/libc/src/errno/CMakeLists.txt
blob: 2852044e94164266ab6203fc4b4a1defeadeda0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# If we are in full build mode, we will provide the errno definition ourselves,
# and if we are in overlay mode, we will just re-use the system's errno.

add_entrypoint_object(
  errno
  SRCS
    libc_errno.cpp
  HDRS
    ../__support/libc_errno.h
  DEPENDS
    libc.hdr.errno_macros
    libc.src.__support.common
    libc.src.__support.libc_errno
    libc.src.__support.macros.attributes
    libc.src.__support.macros.config
)