forked from OSchip/llvm-project
[Include-fixer] Install executables and support scripts
Differential revision: https://reviews.llvm.org/D23045 llvm-svn: 278949
This commit is contained in:
parent
ccd546e953
commit
473da657c7
|
|
@ -1,8 +1,10 @@
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
||||||
|
|
||||||
add_clang_executable(find-all-symbols FindAllSymbolsMain.cpp)
|
add_clang_executable(find-all-symbols
|
||||||
target_link_libraries(find-all-symbols
|
FindAllSymbolsMain.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(find-all-symbols
|
||||||
clangAST
|
clangAST
|
||||||
clangASTMatchers
|
clangASTMatchers
|
||||||
clangBasic
|
clangBasic
|
||||||
|
|
@ -11,3 +13,10 @@ target_link_libraries(find-all-symbols
|
||||||
clangTooling
|
clangTooling
|
||||||
findAllSymbols
|
findAllSymbols
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install(TARGETS find-all-symbols
|
||||||
|
RUNTIME DESTINATION bin)
|
||||||
|
|
||||||
|
install(PROGRAMS run-find-all-symbols.py
|
||||||
|
DESTINATION share/clang
|
||||||
|
COMPONENT find-all-symbols)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
||||||
|
|
||||||
add_clang_executable(clang-include-fixer ClangIncludeFixer.cpp)
|
add_clang_executable(clang-include-fixer
|
||||||
|
ClangIncludeFixer.cpp
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(clang-include-fixer
|
target_link_libraries(clang-include-fixer
|
||||||
clangBasic
|
clangBasic
|
||||||
clangFormat
|
clangFormat
|
||||||
|
|
@ -11,3 +14,13 @@ target_link_libraries(clang-include-fixer
|
||||||
clangToolingCore
|
clangToolingCore
|
||||||
findAllSymbols
|
findAllSymbols
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install(TARGETS clang-include-fixer
|
||||||
|
RUNTIME DESTINATION bin)
|
||||||
|
|
||||||
|
install(PROGRAMS clang-include-fixer.el
|
||||||
|
DESTINATION share/clang
|
||||||
|
COMPONENT clang-include-fixer)
|
||||||
|
install(PROGRAMS clang-include-fixer.py
|
||||||
|
DESTINATION share/clang
|
||||||
|
COMPONENT clang-include-fixer)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue