waf: enable clang build database
This database allows to integrate clang tools and compilers with editors and IDEs.
This commit is contained in:
parent
6e7b73610d
commit
3be4144b72
1
wscript
1
wscript
@ -143,6 +143,7 @@ def options(opt):
|
|||||||
|
|
||||||
def configure(cfg):
|
def configure(cfg):
|
||||||
cfg.load('compiler_cxx compiler_c')
|
cfg.load('compiler_cxx compiler_c')
|
||||||
|
cfg.load('clang_compilation_database')
|
||||||
|
|
||||||
cfg.msg('Setting board to', cfg.options.board)
|
cfg.msg('Setting board to', cfg.options.board)
|
||||||
cfg.env.BOARD = cfg.options.board
|
cfg.env.BOARD = cfg.options.board
|
||||||
|
Loading…
Reference in New Issue
Block a user