sas updated this revision to Diff 121750.
sas added a comment.
Check only on Windows.
https://reviews.llvm.org/D39689
Files:
test/CMakeLists.txt
Index: test/CMakeLists.txt
===================================================================
--- test/CMakeLists.txt
+++ test/CMakeLists.txt
@@ -113,6 +113,13 @@
# to run tests.
if (TARGET clang)
add_dependencies(check-lldb clang)
+ if (CMAKE_SYSTEM_NAME MATCHES "Windows")
+ if (TARGET lld)
+ add_dependencies(check-lldb lld)
+ else ()
+ message(WARNING "lld required to test LLDB on Windows")
+ endif ()
+ endif ()
endif()
add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPENDS})
Index: test/CMakeLists.txt
===================================================================
--- test/CMakeLists.txt
+++ test/CMakeLists.txt
@@ -113,6 +113,13 @@
# to run tests.
if (TARGET clang)
add_dependencies(check-lldb clang)
+ if (CMAKE_SYSTEM_NAME MATCHES "Windows")
+ if (TARGET lld)
+ add_dependencies(check-lldb lld)
+ else ()
+ message(WARNING "lld required to test LLDB on Windows")
+ endif ()
+ endif ()
endif()
add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPENDS})
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits