Currently, lld is marked as a dependency on Windows in
cross-project-tests/CMakeLists.txt which means CMake will fail if lld isn't
enabled. The idea of the cross-project-tests is that tests that don't have
their dependencies met should just be unsupported.
Remove the depenency from the CMake step and check whether Dexter's
platform-specific dependencies have been met in
cross-project-tests/lit.cfg.py. If the dependencies are met then add 'dexter'
to the available_features, otherwise don't and the dexter tests will be
"UNSUPPORTED".
Shouldn't this just be removing the "WIN32" part? If cross-project-tests and lld are both enabled, then check-cross-project-tests will run LLD-requiring tests (there may not be any right at this moment, but I wrote the code with the intention of them being possible). Without this dependency, there could a build-time race condition, whereby the LLD project doesn't finish building before starting the tests.