waf: enable clang build database

This database allows to integrate clang tools and compilers with editors and
IDEs.
This commit is contained in:
Lucas De Marchi 2015-10-27 00:27:55 -02:00 committed by Andrew Tridgell
parent 6e7b73610d
commit 3be4144b72
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ def options(opt):
def configure(cfg):
cfg.load('compiler_cxx compiler_c')
cfg.load('clang_compilation_database')
cfg.msg('Setting board to', cfg.options.board)
cfg.env.BOARD = cfg.options.board