summaryrefslogtreecommitdiff
path: root/libc/src/__support/time/windows/CMakeLists.txt
blob: f31dfbdf26040c06342aba22e6965170c83c1089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
add_header_library(
  performance_counter
  HDRS
    performance_counter.h
  DEPENDS
    libc.src.__support.CPP.atomic
    libc.src.__support.common
)

add_object_library(
  clock_gettime
  HDRS
    ../clock_gettime.h
  SRCS
    clock_gettime.cpp
  DEPENDS
    .performance_counter
    libc.hdr.types.struct_timespec
    libc.hdr.types.clockid_t
    libc.hdr.errno_macros
    libc.src.__support.common
    libc.src.__support.error_or
    libc.src.__support.OSUtil.osutil
    libc.src.__support.CPP.atomic
    libc.src.__support.CPP.limits
)