Add support for building and testing libc++ without threads to CMake.
authorEric Fiselier <eric@efcs.ca>
Sat, 6 Dec 2014 21:02:58 +0000 (21:02 +0000)
committerEric Fiselier <eric@efcs.ca>
Sat, 6 Dec 2014 21:02:58 +0000 (21:02 +0000)
commitb9f99739bcb26fa6883df668be873be1e205f926
tree75f2affd1635ff8ef9fc4aa7cf909c63ef41db3a
parent2050bedf035d926df6f4557f9ebb2283cc016f94
Add support for building and testing libc++ without threads to CMake.

Currently hacks must be used in to configure and build libc++ without threads
when using CMake. This patch adds CMake options to enable/disable building with
threads and a monotonic clock.

This patch also propagates the configuration information to lit so the tests
are properly configured as well.

llvm-svn: 223591
libcxx/CMakeLists.txt
libcxx/test/CMakeLists.txt
libcxx/test/lit.cfg
libcxx/test/lit.site.cfg.in