llvm.org GIT mirror llvm / afcf6ac
CMake: Define LLVM_INCLUDE_TESTS in cmake/modules/HandleLLVMOptions.cmake. It affects testing stuff on clang-standalone build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126107 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
2 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
239239
240240 option(LLVM_BUILD_TESTS
241241 "Build LLVM unit tests. If OFF, just generate build targes." OFF)
242 option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)
243242 if( LLVM_INCLUDE_TESTS )
244243 add_subdirectory(test)
245244 add_subdirectory(utils/unittest)
158158 add_llvm_definitions( -D__STDC_LIMIT_MACROS )
159159 add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
160160
161 option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)