[CMake] Remove LLDB_TEST_USE_CUSTOM_C(XX)_COMPILER
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 20 Aug 2019 20:20:20 +0000 (20:20 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 20 Aug 2019 20:20:20 +0000 (20:20 +0000)
commit8509b0a7788a27f1211b6d0a4a676f11b114211f
treeac9a1cb087c3e2f7ee42f94f12c1f75f2621192d
parent3a2b08e6c90c10fee341f3be257397dbb6034ecb
[CMake] Remove LLDB_TEST_USE_CUSTOM_C(XX)_COMPILER

Given that LLDB_TEST_USE_CUSTOM_C_COMPILER and LLDB_TEST_C_COMPILER are
both set at configuration time, I don't really see the point of having
both. This patch simplifies things and uses the custom C/C++ compiler
when the variable is set, and uses the default one when it's not set.
The variable can be unset by passing -ULLDB_TEST_C_COMPILER to CMake.

Differential revision: https://reviews.llvm.org/D66429

llvm-svn: 369435
lldb/CMakeLists.txt
lldb/docs/resources/build.rst
lldb/docs/resources/test.rst