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:41:09 +0000
commit6c8521729466a841127e62e54bbbaaaebbf35330 (patch)
tree33241f8684c32067b0e6432c587251297cd9ad9c /SConstruct
parent2db61e54f7e964e02fab5d3c89e04fa007c782d0 (diff)
downloadmongo-6c8521729466a841127e62e54bbbaaaebbf35330.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 f283528f25e..1e1b8b0f85c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4223,6 +4223,8 @@ if get_option('ninja') != 'disabled':
)
env.NinjaRegisterFunctionHandler("test_list_builder_action", ninja_test_list_builder)
+ env['NINJA_GENERATED_SOURCE_ALIAS_NAME'] = 'generated-sources'
+
# TODO: Later, this should live somewhere more graceful.
if get_option('install-mode') == 'hygienic':