1add_subdirectory(CPP)
2
3add_header_library(
4  common
5  HDRS
6    architectures.h
7    common.h
8    endian.h
9    sanitizer.h
10)
11
12add_header_library(
13  ctype_utils
14  HDRS
15    ctype_utils.h
16)
17
18add_header_library(
19  str_to_integer
20  HDRS
21    str_to_integer.h
22  DEPENDS
23    .ctype_utils
24    libc.include.errno
25    libc.src.errno.errno
26    libc.src.__support.CPP.limits
27)
28
29add_header_library(
30  high_precision_decimal
31  HDRS
32    high_precision_decimal.h
33  DEPENDS
34    .str_to_integer
35)
36
37add_header_library(
38  str_to_float
39  HDRS
40    str_to_float.h
41  DEPENDS
42    .str_to_integer
43    .ctype_utils
44    .high_precision_decimal
45    libc.include.errno
46    libc.src.errno.errno
47    libc.src.__support.CPP.limits
48    libc.src.__support.CPP.uint128
49    libc.src.__support.FPUtil.fputil
50)
51
52add_header_library(
53  integer_operations
54  HDRS
55    integer_operations.h
56)
57
58add_header_library(
59  arg_list
60  HDRS
61    arg_list.h
62)
63
64add_subdirectory(FPUtil)
65add_subdirectory(OSUtil)
66
67# Thread support is used by other "File". So, we add the "threads"
68# before "File".
69add_subdirectory(threads)
70
71add_subdirectory(File)
72