From 97439d8777ada131e17d8fb9b1e0caf43f6fc50c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 20 Jan 2022 20:13:31 +0100 Subject: [PATCH] Flip option, disable compile-database by default --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index 5ba4e247a9..c21d55d11a 100644 --- a/wscript +++ b/wscript @@ -807,8 +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('--compile-database', action='store_true', default=False, dest='clang_compile_db', + help='Enable 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', @@ -937,7 +937,7 @@ def configure(conf): conf.load('compiler_cxx') if Options.options.dist_target == 'mingw': conf.load('winres') - elif not Options.options.clang_compile_db: + elif Options.options.clang_compile_db: conf.load('clang_compilation_database') if Options.options.dist_target == 'msvc':