[cfe-commits] r161405 - /cfe/trunk/tools/CMakeLists.txt

Chandler Carruth chandlerc at gmail.com
Tue Aug 7 01:37:42 PDT 2012


Author: chandlerc
Date: Tue Aug  7 03:37:42 2012
New Revision: 161405

URL: http://llvm.org/viewvc/llvm-project?rev=161405&view=rev
Log:
Initial support for recursing into the new clang-tools-extra repository
if checked out under clang/tools/extra.

This is mostly so folks other than me can start to test. Documentation,
details, and an announcement are still in the works.

Modified:
    cfe/trunk/tools/CMakeLists.txt

Modified: cfe/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CMakeLists.txt?rev=161405&r1=161404&r2=161405&view=diff
==============================================================================
--- cfe/trunk/tools/CMakeLists.txt (original)
+++ cfe/trunk/tools/CMakeLists.txt Tue Aug  7 03:37:42 2012
@@ -5,3 +5,12 @@
 add_subdirectory(diagtool)
 add_subdirectory(driver)
 add_subdirectory(clang-check)
+
+# We support checking out the clang-tools-extra repository into the 'extra'
+# subdirectory. It contains tools developed as part of the Clang/LLVM project
+# on top of the Clang tooling platform. We keep them in a separate repository
+# to keep the primary Clang repository small and focused.
+if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/extra AND
+   EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/extra/CMakeLists.txt)
+  add_subdirectory(extra)
+endif()





More information about the cfe-commits mailing list