1 #if (CMAKE_SYSTEM_NAME MATCHES "Linux") 2 add_subdirectory(Linux) 3 #elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") 4 add_subdirectory(FreeBSD) 5 #elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin") 6 add_subdirectory(MacOSX) 7 #elseif (CMAKE_SYSTEM_NAME MATCHES "Windows") 8 # add_subdirectory(Windows) 9 #endif() 10 11 add_subdirectory(gdb-server) 12