git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126107
91177308-0d34-0410-b5e6-
96231b3b80d8
option(LLVM_BUILD_TESTS
"Build LLVM unit tests. If OFF, just generate build targes." OFF)
-option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)
if( LLVM_INCLUDE_TESTS )
add_subdirectory(test)
add_subdirectory(utils/unittest)
add_llvm_definitions( -D__STDC_LIMIT_MACROS )
add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
+option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)