clangd stuff

This commit is contained in:
Adam Ierymenko 2022-04-14 12:00:36 -04:00
parent e1a3bd3a92
commit cf03996bf2
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@
# IDE stuff
/.idea
/.nova
/compile_commands.json
# OS-created garbage files from various platforms
.DS_Store

View File

@ -154,6 +154,10 @@ selftest: $(CORE_OBJS) $(ONE_OBJS) selftest.o
zerotier-selftest: selftest
# Make compile_commands.json for clangd editor extensions. Probably works on Linux too.
compile_commands: FORCE
compiledb make ZT_DEBUG=1
# Requires Packages: http://s.sudre.free.fr/Software/Packages/about.html
mac-dist-pkg: FORCE
packagesbuild "ext/installfiles/mac/ZeroTier One.pkgproj"