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..87ce4d899f7b6e6578039f9152e41961ffebfbd9 |
--- /dev/null |
+++ b/tools/clang/rewrite_scoped_refptr/CMakeLists.txt |
@@ -0,0 +1,26 @@ |
+set(LLVM_LINK_COMPONENTS |
+ BitReader |
+ MCParser |
+ Option |
+ ) |
+ |
+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 |
+ ) |
+ |
+install(TARGETS rewrite_scoped_refptr RUNTIME DESTINATION bin) |