summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2017-05-16 15:14:27 -0400
committerAndrew Morrow <acm@mongodb.com>2017-05-17 08:49:07 -0400
commitd920bb9d9d59f92899fbeb0bb85caf5e04539000 (patch)
tree66909c9d30ed845e2b101cac376489f94458419b /site_scons
parentc7b0794c64074d07f23a18b685e4beada76bb71f (diff)
downloadmongo-d920bb9d9d59f92899fbeb0bb85caf5e04539000.tar.gz
SERVER-29110 Include IDL compiler output in the generated sources alias
Diffstat (limited to 'site_scons')
-rwxr-xr-xsite_scons/site_tools/idl_tool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/site_scons/site_tools/idl_tool.py b/site_scons/site_tools/idl_tool.py
index 9606ce0c405..78bedfaa74b 100755
--- a/site_scons/site_tools/idl_tool.py
+++ b/site_scons/site_tools/idl_tool.py
@@ -32,6 +32,8 @@ def idlc_emitter(target, source, env):
target_source = base_file_name + "_gen.cpp"
target_header = base_file_name + "_gen.h"
+ env.Alias('generated-sources', [target_source, target_header])
+
return [target_source, target_header], source