[sanitizer] Refactor -f(no-)?sanitize-recover parsing (#119819)
[llvm-project.git] / libc / src / CMakeLists.txt
blob9fc331ad18a39122c52192c6c485281495a5edc4
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(strings)
16 add_subdirectory(wchar)
17 add_subdirectory(time)
19 if(${LIBC_TARGET_OS} STREQUAL "linux")
20   add_subdirectory(dirent)
21   add_subdirectory(fcntl)
22   add_subdirectory(pthread)
23   add_subdirectory(sched)
24   add_subdirectory(sys)
25   add_subdirectory(termios)
26   add_subdirectory(unistd)
27 endif()
29 if(${LIBC_TARGET_OS} STREQUAL "gpu")
30   add_subdirectory(gpu)
31 endif()
33 if(NOT LLVM_LIBC_FULL_BUILD)
34   return()
35 endif()
37 add_subdirectory(arpa)
38 add_subdirectory(assert)
39 add_subdirectory(compiler)
40 add_subdirectory(locale)
41 add_subdirectory(search)
42 add_subdirectory(setjmp)
43 add_subdirectory(signal)
44 add_subdirectory(spawn)
45 add_subdirectory(threads)