Author: d0k Date: Mon Feb 27 15:40:35 2017 New Revision: 296390 URL: http://llvm.org/viewvc/llvm-project?rev=296390&view=rev Log: [clangd] Make clangd install to bin
This allows the install target to also install clangd to bin, so that it can be deployed and used outside the build tree. Patch by Marc-Andre Laperle! Differential Revision: https://reviews.llvm.org/D30425 Modified: clang-tools-extra/trunk/clangd/CMakeLists.txt Modified: clang-tools-extra/trunk/clangd/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/CMakeLists.txt?rev=296390&r1=296389&r2=296390&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/CMakeLists.txt (original) +++ clang-tools-extra/trunk/clangd/CMakeLists.txt Mon Feb 27 15:40:35 2017 @@ -6,6 +6,8 @@ add_clang_executable(clangd ProtocolHandlers.cpp ) +install(TARGETS clangd RUNTIME DESTINATION bin) + target_link_libraries(clangd clangBasic clangFormat _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits