Skip to content

Commit d1e7c8a

Browse files
author
Zishan Mirza
committed
add localtime
1 parent 51086df commit d1e7c8a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

libc/src/time/baremetal/CMakeLists.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@ add_entrypoint_object(
22
timespec_get
33
SRCS
44
timespec_get.cpp
5-
localtime.cpp
65
HDRS
76
../timespec_get.h
7+
DEPENDS
8+
libc.hdr.time_macros
9+
libc.hdr.types.struct_timespec
10+
)
11+
12+
add_entrypoint_object(
13+
localtime
14+
SRCS
15+
localtime.cpp
16+
HDRS
817
../localtime.h
918
DEPENDS
1019
libc.hdr.time_macros
1120
libc.hdr.types.struct_timespec
1221
)
22+

0 commit comments

Comments
 (0)