If we forget to build libcxx then previously the CMake configure
would have errors like:
CMake Error at /Users/dan/data/dev/llvm/upstream_monorepo/master/llvm/llvm/cmake/modules/AddLLVM.cmake:1374 (add_dependencies): The dependency target "cxx" of target "check-lldb-tools-lldb-mi-data-inputs" does not exist. Call Stack (most recent call first): /Users/dan/data/dev/llvm/upstream_monorepo/master/llvm/llvm/cmake/modules/AddLLVM.cmake:1426 (add_lit_target) /Users/dan/data/dev/llvm/upstream_monorepo/master/llvm/lldb/lit/CMakeLists.txt:76 (add_lit_testsuites)
To avoid error this check the cxx target exists before adding it to
LLDB_TEST_DEPS. If it doesn't exist emit a warning similar to the
code above.