Allow to disable clang_compilation_database
See alsoaf69061644
andb8e1cd53c
. This can be useful in some cases where running a dry-run build will fail. e.g. with --freedesktop files that are not generated before the actual build.
This commit is contained in:
parent
41ade3b024
commit
9886d6c19e
4
wscript
4
wscript
@ -807,6 +807,8 @@ def options(opt):
|
||||
help='Compile with -rdynamic -- allow obtaining backtraces from within Ardour')
|
||||
opt.add_option('--no-carbon', action='store_true', default=False, dest='nocarbon',
|
||||
help='Compile without support for AU Plugins with only CARBON UI (needed for 64bit)')
|
||||
opt.add_option('--no-compile-database', action='store_true', default=False, dest='clang_compile_db',
|
||||
help='Do not call clang_compilation_database to write compile_commands.json prior to build')
|
||||
opt.add_option('--boost-sp-debug', action='store_true', default=False, dest='boost_sp_debug',
|
||||
help='Compile with Boost shared pointer debugging')
|
||||
opt.add_option('--debug-symbols', action='store_true', default=False, dest='debug_symbols',
|
||||
@ -935,7 +937,7 @@ def configure(conf):
|
||||
conf.load('compiler_cxx')
|
||||
if Options.options.dist_target == 'mingw':
|
||||
conf.load('winres')
|
||||
else:
|
||||
elif not Options.options.clang_compile_db:
|
||||
conf.load('clang_compilation_database')
|
||||
|
||||
if Options.options.dist_target == 'msvc':
|
||||
|
Loading…
Reference in New Issue
Block a user