1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

waf: Create clang compilation database

http://clang.llvm.org/docs/JSONCompilationDatabase.html

This can be used by ymcd or clangd.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Andreas Schneider 2018-09-25 18:13:26 +02:00 committed by Andreas Schneider
parent 6de5706b4d
commit b28d06be7a

View File

@ -597,6 +597,8 @@ struct foo bar = { .y = 'X', .x = 1 };
if conf.env.enable_libfuzzer:
conf.DEFINE('ENABLE_LIBFUZZER', 1)
conf.load('clang_compilation_database')
conf.SAMBA_BUILD_ENV()