Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Skip Clang tests option. #3

Merged
merged 1 commit into from
Apr 15, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()