Add test targets.

This commit is contained in:
Axel Naumann 2014-01-28 14:30:55 +01:00 committed by sftnight
parent e93965e3f4
commit 3032317e00

View File

@ -164,6 +164,13 @@ add_subdirectory(tools)
# TODO: docs.
#add_subdirectory(test)
option(CLING_INCLUDE_TESTS
"Generate build targets for the Cling unit tests."
${LLVM_INCLUDE_TESTS})
if( CLING_INCLUDE_TESTS )
add_subdirectory(test)
endif()
# Workaround for MSVS10 to avoid the Dialog Hell
# FIXME: This could be removed with future version of CMake.