Fix test failures introduced by PR #113697 (#116941)
[llvm-project.git] / libc / src / CMakeLists.txt
blob02c193e635362e1e74a5040af29cd6f0698e55c8
1 add_subdirectory(__support)
3 add_subdirectory(complex)
4 add_subdirectory(ctype)
5 add_subdirectory(dlfcn)
6 add_subdirectory(errno)
7 add_subdirectory(fenv)
8 add_subdirectory(inttypes)
9 add_subdirectory(math)
10 add_subdirectory(stdbit)
11 add_subdirectory(stdfix)
12 add_subdirectory(stdio)
13 add_subdirectory(stdlib)
14 add_subdirectory(string)
15 add_subdirectory(wchar)
17 if(${LIBC_TARGET_OS} STREQUAL "linux")
18   add_subdirectory(dirent)
19   add_subdirectory(fcntl)
20   add_subdirectory(pthread)
21   add_subdirectory(sched)
22   add_subdirectory(sys)
23   add_subdirectory(termios)
24   add_subdirectory(unistd)
25 endif()
27 if(${LIBC_TARGET_OS} STREQUAL "gpu")
28   add_subdirectory(gpu)
29 endif()
31 if(NOT LLVM_LIBC_FULL_BUILD)
32   return()
33 endif()
35 add_subdirectory(assert)
36 add_subdirectory(compiler)
37 add_subdirectory(network)
38 add_subdirectory(search)
39 add_subdirectory(setjmp)
40 add_subdirectory(signal)
41 add_subdirectory(spawn)
42 add_subdirectory(threads)
43 add_subdirectory(time)
44 add_subdirectory(locale)