[OpenACC] Implement 'device_type' for 'data' construct
[llvm-project.git] / libc / src / __support / time / linux / CMakeLists.txt
blob6fec7eeba99add2f3900b8bd0118b7eba8d1021b
1 add_object_library(
2   clock_gettime
3   HDRS
4     ../clock_gettime.h
5   SRCS
6     clock_gettime.cpp
7   DEPENDS
8     libc.include.sys_syscall
9     libc.hdr.types.struct_timespec
10     libc.hdr.types.clockid_t
11     libc.src.__support.common
12     libc.src.__support.error_or
13     libc.src.__support.OSUtil.osutil
14     libc.src.__support.OSUtil.linux.vdso
17 add_header_library(
18   clock_conversion
19   HDRS
20     clock_conversion.h
21   DEPENDS
22     .clock_gettime
23     libc.src.__support.time.units
26 add_header_library(
27   abs_timeout
28   HDRS
29     abs_timeout.h
30   DEPENDS
31     libc.hdr.types.struct_timespec
32     libc.src.__support.time.units
33     libc.src.__support.CPP.expected
36 add_header_library(
37   monotonicity
38   HDRS
39     monotonicity.h
40   DEPENDS
41     .clock_conversion
42     .abs_timeout
43     libc.hdr.time_macros