48 lines · plain
1add_entrypoint_object(2 clock3 SRCS4 clock.cpp5 HDRS6 ../clock.h7 DEPENDS8 libc.hdr.time_macros9 libc.hdr.types.struct_timespec10)11 12add_entrypoint_object(13 timespec_get14 SRCS15 timespec_get.cpp16 HDRS17 ../timespec_get.h18 DEPENDS19 libc.hdr.time_macros20 libc.hdr.types.struct_timespec21)22 23add_entrypoint_object(24 localtime25 SRCS26 localtime.cpp27 ../time_utils.cpp28 HDRS29 ../localtime.h30 ../time_utils.h31 DEPENDS32 libc.hdr.types.struct_tm33 libc.hdr.types.time_t34)35 36add_entrypoint_object(37 localtime_r38 SRCS39 localtime_r.cpp40 ../time_utils.cpp41 HDRS42 ../localtime.h43 ../time_utils.h44 DEPENDS45 libc.hdr.types.struct_tm46 libc.hdr.types.time_t47)48