[cfe-commits] r125985 - in /cfe/trunk: CMakeLists.txt test/CMakeLists.txt

Daniel Dunbar daniel at zuster.org
Fri Feb 18 14:55:33 PST 2011


Author: ddunbar
Date: Fri Feb 18 16:55:32 2011
New Revision: 125985

URL: http://llvm.org/viewvc/llvm-project?rev=125985&view=rev
Log:
More correct fix for CMake breakage I was seeing, my buildbots use
LLVM_INCLUDE_TESTS:=OFF, which may no longer be necessary for all I know.

Modified:
    cfe/trunk/CMakeLists.txt
    cfe/trunk/test/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=125985&r1=125984&r2=125985&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Fri Feb 18 16:55:32 2011
@@ -215,7 +215,9 @@
 add_subdirectory(runtime)
 
 # TODO: docs.
+if( LLVM_INCLUDE_TESTS )
 add_subdirectory(test)
+endif()
 
 # FIXME: unittests require gtest.
 if( NOT CLANG_BUILT_STANDALONE )

Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=125985&r1=125984&r2=125985&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Fri Feb 18 16:55:32 2011
@@ -113,7 +113,7 @@
                 ${LLVM_BINARY_DIR}/test
                 ${CMAKE_CURRENT_BINARY_DIR}
                 COMMENT "Running Clang and LLVM regression tests")
-    add_dependencies(check-all clang-test.deps)
+    add_dependencies(check-all check.deps clang-test.deps)
     add_dependencies(clang-test.deps
                      ClangUnitTests
                      llvm-dis opt





More information about the cfe-commits mailing list