[clangd] Add CMake dependencies for Protobuf-generated files
authorKirill Bobyrev <kbobyrev@google.com>
Wed, 29 Apr 2020 14:59:32 +0000 (16:59 +0200)
committerKirill Bobyrev <kbobyrev@google.com>
Wed, 29 Apr 2020 15:01:03 +0000 (17:01 +0200)
commit4645ef17ff1aa30e1890b7c8230b590ef830081b
tree895e105a08efbaa49bd4984c6b30e0c82df2d949
parent5c4b4a62256876fe9df3a230a16f13cde8bb98dd
[clangd] Add CMake dependencies for Protobuf-generated files

Summary:
Dependencies ensure that Protobufs are generated before all libraries
depending on the headers are **built**, not linked.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79085
clang-tools-extra/clangd/index/remote/CMakeLists.txt
clang-tools-extra/clangd/index/remote/marshalling/CMakeLists.txt
clang-tools-extra/clangd/index/remote/server/CMakeLists.txt