Index: tools/clang/rewrite_scoped_refptr/CMakeLists.txt |
diff --git a/tools/clang/rewrite_scoped_refptr/CMakeLists.txt b/tools/clang/rewrite_scoped_refptr/CMakeLists.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aa47400ce3d6bf50fbd440334c1e8c425956815c |
--- /dev/null |
+++ b/tools/clang/rewrite_scoped_refptr/CMakeLists.txt |
@@ -0,0 +1,27 @@ |
+set(LLVM_LINK_COMPONENTS |
+ BitReader |
+ MCParser |
+ Option |
+ X86AsmParser |
+ ) |
+ |
+add_llvm_executable(rewrite_scoped_refptr |
+ RewriteScopedRefptr.cpp |
+ ) |
+ |
+target_link_libraries(rewrite_scoped_refptr |
+ clangAST |
+ clangASTMatchers |
+ clangAnalysis |
+ clangBasic |
+ clangDriver |
+ clangEdit |
+ clangFrontend |
+ clangLex |
+ clangParse |
+ clangSema |
+ clangSerialization |
+ clangTooling |
+ ) |
+ |
+cr_install(TARGETS rewrite_scoped_refptr RUNTIME DESTINATION bin) |