diff options
Diffstat (limited to 'lldb/unittests/tools/CMakeLists.txt')
| -rw-r--r-- | lldb/unittests/tools/CMakeLists.txt | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lldb/unittests/tools/CMakeLists.txt b/lldb/unittests/tools/CMakeLists.txt index 59b87864da5..4c657866ca2 100644 --- a/lldb/unittests/tools/CMakeLists.txt +++ b/lldb/unittests/tools/CMakeLists.txt @@ -1,9 +1,6 @@ -add_subdirectory(lldb-mi) -if(CMAKE_SYSTEM_NAME MATCHES "Android|Darwin|Linux|NetBSD") - if ((CMAKE_SYSTEM_NAME MATCHES "Darwin" AND SKIP_TEST_DEBUGSERVER) OR (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" AND SKIP_LLDB_SERVER_BUILD)) - # These tests are meant to test lldb-server/debugserver in isolation, and - # don't provide any value if run against a server copied from somewhere. - else() - add_subdirectory(lldb-server) - endif() +if(LLDB_TOOL_LLDB_MI_BUILD) + add_subdirectory(lldb-mi) +endif() +if(LLDB_TOOL_LLDB_SERVER_BUILD) + add_subdirectory(lldb-server) endif() |

