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.FPUtil.fputil
49)
50
51add_header_library(
52  integer_operations
53  HDRS
54    integer_operations.h
55)
56
57add_header_library(
58  arg_list
59  HDRS
60    arg_list.h
61)
62
63add_subdirectory(FPUtil)
64add_subdirectory(OSUtil)
65
66# Thread support is used by other "File". So, we add the "threads"
67# before "File".
68add_subdirectory(threads)
69
70add_subdirectory(File)
71