diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2010-09-25 20:25:25 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2010-09-25 20:25:25 +0000 |
commit | 066de857f813991cb8985c7b10e130b32c878bd6 (patch) | |
tree | 92207a1868247905d941699eabf4159ba6f6a552 /unittests/CMakeLists.txt | |
parent | 207f8f688b0d530ebe4542ae0db599a6463b670b (diff) | |
download | llvm-066de857f813991cb8985c7b10e130b32c878bd6.tar.gz llvm-066de857f813991cb8985c7b10e130b32c878bd6.tar.bz2 llvm-066de857f813991cb8985c7b10e130b32c878bd6.tar.xz |
Reverting "CMake: Don't include tools, unittets, or examples as
available targets unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies
LLVM_INCLUDE_X"
It breaks the configuration phase when cmake is invoked without
parameters, it is too complex for the purpose and introduces an
incovenience for the user (as both LLVM_BUILD_X and LLVM_INCLUDE_X
must set to OFF for not including X on the build)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/CMakeLists.txt')
-rw-r--r-- | unittests/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index ab4d53c90b..595ec21454 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -9,9 +9,7 @@ function(add_llvm_unittest test_name) if( NOT LLVM_BUILD_TESTS ) set(EXCLUDE_FROM_ALL ON) endif() - if (LLVM_INCLUDE_TESTS OR LLVM_BUILD_TESTS) - add_llvm_executable(${test_name}Tests ${ARGN}) - endif() + add_llvm_executable(${test_name}Tests ${ARGN}) endfunction() include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include) |