diff options
author | Jukka Jylanki <jujjyl@gmail.com> | 2014-04-10 11:46:42 +0300 |
---|---|---|
committer | Jukka Jylanki <jujjyl@gmail.com> | 2014-04-10 11:46:42 +0300 |
commit | 88198a1fe0d27db3ba0e1773c5f11ef074ba782d (patch) | |
tree | 13c0dfbc97b2a1bd1a643b40d2b91d4daf207ca2 | |
parent | f1e7a40a73073cf492a7411acc049af0c729fe8a (diff) |
Allow setting CLANG_INCLUDE_TESTS=OFF to avoid having to build long-running tests with cmake. This change is already in upstream LLVM 3.4 repository.
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d05a4cdb5..bcd5c52578 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -290,10 +290,10 @@ option(CLANG_INCLUDE_TESTS "Generate build targets for the Clang unit tests." ${LLVM_INCLUDE_TESTS}) -# TODO: docs. -add_subdirectory(test) - if( CLANG_INCLUDE_TESTS ) + # TODO: docs. + add_subdirectory(test) # XXX Emscripten: Backport fix from upstream LLVM 3.4 to actually skip tests if CLANG_INCLUDE_TESTS = OFF + add_subdirectory(unittests) endif() |