[PATCH] D52714: Build clang-headers when building clang tools.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 1 05:18:31 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL343459: Build clang-headers when building clang tools. (authored by hokein, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D52714

Files:
  cfe/trunk/cmake/modules/AddClang.cmake


Index: cfe/trunk/cmake/modules/AddClang.cmake
===================================================================
--- cfe/trunk/cmake/modules/AddClang.cmake
+++ cfe/trunk/cmake/modules/AddClang.cmake
@@ -131,6 +131,7 @@
   endif()
 
   add_clang_executable(${name} ${ARGN})
+  add_dependencies(${name} clang-headers)
 
   if (CLANG_BUILD_TOOLS)
     if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52714.167705.patch
Type: text/x-patch
Size: 401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181001/c7043a27/attachment.bin>


More information about the cfe-commits mailing list