CMake: Define LLVM_INCLUDE_TESTS in cmake/modules/HandleLLVMOptions.cmake. It affects...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 21 Feb 2011 03:21:06 +0000 (03:21 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 21 Feb 2011 03:21:06 +0000 (03:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126107 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt
cmake/modules/HandleLLVMOptions.cmake

index 59a69b16e5a7e1c986b487d88706f87ae296ef3e..b357478bbc3a3bec9df69461a7a8eac26166f180 100644 (file)
@@ -240,7 +240,6 @@ endif()
 
 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)
index 7ca2bd07fd539798435f4cf628907f942ee04584..f62e86ae494bd2e27358ce38e7fa9909cd5c3fe8 100644 (file)
@@ -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)