1if (CMAKE_SYSTEM_NAME MATCHES "Linux") 2 add_subdirectory(Linux) 3 add_subdirectory(POSIX) 4 add_subdirectory(elf-core) 5elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") 6 add_subdirectory(FreeBSD) 7 add_subdirectory(POSIX) 8 add_subdirectory(elf-core) 9elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin") 10 add_subdirectory(MacOSX-Kernel) 11endif() 12add_subdirectory(gdb-remote) 13add_subdirectory(Utility) 14add_subdirectory(mach-core) 15