cmake: Link compile database to source dir for clangd

See
https://github.com/ycm-core/YouCompleteMe
https://github.com/abingham/emacs-ycmd

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Andreas Schneider
2019-10-25 10:14:28 +02:00
parent 8a50dbc6ba
commit a4b95268ee
3 changed files with 8 additions and 1 deletions

2
.gitignore vendored
View File

@@ -4,6 +4,8 @@
*.swp
*~$
cscope.*
compile_commands.json
/.clangd
tags
/build
/obj*