CMake: Optionally allow running the Clang unit tests in standalone builds.
authorJordan Rose <jordan_rose@apple.com>
Fri, 8 Feb 2013 01:42:37 +0000 (01:42 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 8 Feb 2013 01:42:37 +0000 (01:42 +0000)
commitdfbe77cdf5c252865b939b812241a76838dd3be8
tree0a968360ddf94e022a33942ac529bbd7469119f0
parent684f9687c70b300b6aa52430155ca85353814b86
CMake: Optionally allow running the Clang unit tests in standalone builds.

The reason this is not enabled by default is because there is no way for
Clang to guarantee that the LLVM unit testing infrastruture has been built.
However, if it /has/ been built, there's no reason why the standalone Clang
build can't use it!

This should have no effect on existing builds -- in a combined build the
value of the CLANG_INCLUDE_TESTS option defaults to the LLVM equivalent,
and in a standalone build it defaults to off.

llvm-svn: 174691
clang/CMakeLists.txt