summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2022-04-07 12:50:12 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-25 14:52:13 +0000
commit3539833b79dea8787dc7e44619c6776126e81a55 (patch)
tree3a3e44e6d8b1a54a1714f7ecdac8d6e73b5ef241 /SConstruct
parentae996e0249f4f20b4def3a9f81dfc61c81eb4c83 (diff)
downloadmongo-3539833b79dea8787dc7e44619c6776126e81a55.tar.gz
SERVER-64664 add alias tagging for ninja to determine generated sources.
(cherry picked from commit 2fef432fa6e7cf3fd4f22ba3b193222c2887f14f)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 525779da374..17c47b8deb1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4691,6 +4691,8 @@ if get_option('ninja') != 'disabled':
)
env.NinjaRegisterFunctionHandler("test_list_builder_action", ninja_test_list_builder)
+ env['NINJA_GENERATED_SOURCE_ALIAS_NAME'] = 'generated-sources'
+
if get_option('separate-debug') == "on" or env.TargetOSIs("windows"):