mirror of
https://github.com/samba-team/samba.git
synced 2025-09-17 05:44:20 +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:
committed by
Andreas Schneider
parent
6de5706b4d
commit
b28d06be7a
@@ -597,6 +597,8 @@ struct foo bar = { .y = 'X', .x = 1 };
|
|||||||
if conf.env.enable_libfuzzer:
|
if conf.env.enable_libfuzzer:
|
||||||
conf.DEFINE('ENABLE_LIBFUZZER', 1)
|
conf.DEFINE('ENABLE_LIBFUZZER', 1)
|
||||||
|
|
||||||
|
conf.load('clang_compilation_database')
|
||||||
|
|
||||||
conf.SAMBA_BUILD_ENV()
|
conf.SAMBA_BUILD_ENV()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user