diff options
author | Daniel Moody <daniel.moody@mongodb.com> | 2020-06-29 18:44:25 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-02 21:19:39 +0000 |
commit | 5fe923a0aa312044062df044eb4eaa47951f70ec (patch) | |
tree | 5076689dd0fd54da06f006c13b1c4bca91d17395 /SConstruct | |
parent | 3e71740b94b2ecbb8ed1f4c1b85e5a5ec3536061 (diff) | |
download | mongo-5fe923a0aa312044062df044eb4eaa47951f70ec.tar.gz |
SERVER-49036 expand response files for generating the compdb from ninja
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 8320c68f367..069cadba135 100644 --- a/SConstruct +++ b/SConstruct @@ -3902,6 +3902,13 @@ if get_option('ninja') != 'disabled': else: ninja_builder = Tool("ninja_next") ninja_builder.generate(env) + + ninjaConf = Configure(env, help=False, custom_tests = { + 'CheckNinjaCompdbExpand': env.CheckNinjaCompdbExpand, + }) + env['NINJA_COMPDB_EXPAND'] = ninjaConf.CheckNinjaCompdbExpand() + ninjaConf.Finish() + # idlc.py has the ability to print it's implicit dependencies # while generating, Ninja can consume these prints using the |