summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-21 03:21:06 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-21 03:21:06 +0000
commitafcf6ac7a85601690d43e73ee504e281fa6244aa (patch)
tree3e7a214663d94aa4fc8b6ad3ff71cdfaffa42240 /cmake
parent0f300475bee21a24dc88168b3ad28773a7845024 (diff)
downloadllvm-afcf6ac7a85601690d43e73ee504e281fa6244aa.tar.gz
llvm-afcf6ac7a85601690d43e73ee504e281fa6244aa.tar.bz2
llvm-afcf6ac7a85601690d43e73ee504e281fa6244aa.tar.xz
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
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 7ca2bd07fd..f62e86ae49 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -159,3 +159,4 @@ endif( MSVC )
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)