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
   )
 


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
   )
 
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to