[PATCH] D43371: [clang-include-fixer] Use add_clang_tool instead add_clang_executable

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 23:25:57 PST 2018


phosek created this revision.
phosek added reviewers: klimek, sammccall, bkramer, hokein.
Herald added subscribers: cfe-commits, mgorny.

This makes it possible to include clang-include-fixer as distribution
component when building Clang based toolchain using CMake.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D43371

Files:
  clang-tools-extra/include-fixer/tool/CMakeLists.txt


Index: clang-tools-extra/include-fixer/tool/CMakeLists.txt
===================================================================
--- clang-tools-extra/include-fixer/tool/CMakeLists.txt
+++ clang-tools-extra/include-fixer/tool/CMakeLists.txt
@@ -1,6 +1,6 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
 
-add_clang_executable(clang-include-fixer
+add_clang_tool(clang-include-fixer
   ClangIncludeFixer.cpp
   )
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43371.134559.patch
Type: text/x-patch
Size: 420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180216/3fa3bf1c/attachment-0001.bin>


More information about the cfe-commits mailing list