2017-12-22 22:38:05 +08:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../)
|
|
|
|
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
Support
|
|
|
|
)
|
|
|
|
|
[clangd] Rename global-symbol-builder to clangd-indexer.
Summary:
Given that the indexer binary is put directly into ./bin directory
when built, 'clangd-' prefix seems to provide better context to the
reader than 'global-'.
The new name is also shorter and easier to type.
Reviewers: ioeric, sammccall, kadircet
Reviewed By: ioeric, sammccall
Subscribers: kbobyrev, ilya-biryukov, mgorny, MaskRay, jkorous, arphaman, cfe-commits
Differential Revision: https://reviews.llvm.org/D51987
llvm-svn: 342123
2018-09-13 17:44:11 +08:00
|
|
|
add_clang_executable(clangd-indexer
|
|
|
|
IndexerMain.cpp
|
2017-12-22 22:38:05 +08:00
|
|
|
)
|
|
|
|
|
[clangd] Rename global-symbol-builder to clangd-indexer.
Summary:
Given that the indexer binary is put directly into ./bin directory
when built, 'clangd-' prefix seems to provide better context to the
reader than 'global-'.
The new name is also shorter and easier to type.
Reviewers: ioeric, sammccall, kadircet
Reviewed By: ioeric, sammccall
Subscribers: kbobyrev, ilya-biryukov, mgorny, MaskRay, jkorous, arphaman, cfe-commits
Differential Revision: https://reviews.llvm.org/D51987
llvm-svn: 342123
2018-09-13 17:44:11 +08:00
|
|
|
target_link_libraries(clangd-indexer
|
2017-12-22 22:38:05 +08:00
|
|
|
PRIVATE
|
|
|
|
clangAST
|
|
|
|
clangBasic
|
2019-03-29 10:49:13 +08:00
|
|
|
clangDaemon
|
2017-12-22 22:38:05 +08:00
|
|
|
clangFrontend
|
2019-03-29 10:49:13 +08:00
|
|
|
clangIndex
|
2018-02-18 18:50:16 +08:00
|
|
|
clangLex
|
2017-12-22 22:38:05 +08:00
|
|
|
clangTooling
|
|
|
|
)
|