1 if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android")
2 add_subdirectory(Linux)
3 add_subdirectory(POSIX)
4 elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
5 add_subdirectory(FreeBSD)
6 add_subdirectory(POSIX)
7 elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
8 add_subdirectory(NetBSD)
9 add_subdirectory(POSIX)
10 elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
11 add_subdirectory(Windows/Common)
12 elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
13 add_subdirectory(MacOSX-Kernel)
15 add_subdirectory(scripted)
16 add_subdirectory(gdb-remote)
17 add_subdirectory(Utility)
18 add_subdirectory(elf-core)
19 add_subdirectory(mach-core)
20 add_subdirectory(minidump)
21 add_subdirectory(FreeBSDKernel)