blob: 6a24e138efcf1581a543ba8df0909ceaa8f79a18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
set(LLVM_LINK_COMPONENTS support)
add_clang_executable(clang-format
ClangFormat.cpp
)
target_link_libraries(clang-format
clangBasic
clangFormat
clangRewrite
clangToolingCore
)
install(TARGETS clang-format RUNTIME DESTINATION bin)
install(PROGRAMS clang-format-bbedit.applescript DESTINATION share/clang)
install(PROGRAMS clang-format-diff.py DESTINATION share/clang)
install(PROGRAMS clang-format-sublime.py DESTINATION share/clang)
install(PROGRAMS clang-format.el DESTINATION share/clang)
install(PROGRAMS clang-format.py DESTINATION share/clang)
install(PROGRAMS git-clang-format DESTINATION bin)
|