r188760 - [autotools->cmake] Move add_subdirectory(test) inside CLANG_INCLUDE_TESTS to match the behavior of the LLVM where LLVM_INCLUDE_TESTS controls whether tests is included.

Michael Gottesman mgottesman at apple.com
Tue Aug 20 00:09:54 PDT 2013


Author: mgottesman
Date: Tue Aug 20 02:09:54 2013
New Revision: 188760

URL: http://llvm.org/viewvc/llvm-project?rev=188760&view=rev
Log:
[autotools->cmake] Move add_subdirectory(test) inside CLANG_INCLUDE_TESTS to match the behavior of the LLVM where LLVM_INCLUDE_TESTS controls whether tests is included.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=188760&r1=188759&r2=188760&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Aug 20 02:09:54 2013
@@ -320,9 +320,9 @@ option(CLANG_INCLUDE_TESTS
        ${LLVM_INCLUDE_TESTS})
 
 # TODO: docs.
-add_subdirectory(test)
 
 if( CLANG_INCLUDE_TESTS )
+  add_subdirectory(test)
   add_subdirectory(unittests)
 endif()
 





More information about the cfe-commits mailing list