diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-03-29 11:32:59 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-03-29 11:37:08 -0400 |
commit | 29816153660280601d96289dc3ef0da2ee46d6ff (patch) | |
tree | d6e0865aed1acff2a652bf7bd729b60567910377 /src/mongo/idl/SConscript | |
parent | 008a46edd04a5dca21f5aa61965b173bce109bbe (diff) | |
download | mongo-29816153660280601d96289dc3ef0da2ee46d6ff.tar.gz |
SERVER-28306 IDL Code Generator
Diffstat (limited to 'src/mongo/idl/SConscript')
-rw-r--r-- | src/mongo/idl/SConscript | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mongo/idl/SConscript b/src/mongo/idl/SConscript new file mode 100644 index 00000000000..93a57d332e0 --- /dev/null +++ b/src/mongo/idl/SConscript @@ -0,0 +1,27 @@ +# -*- mode: python -*- +Import("env") + +env = env.Clone() + +env.Library( + target="idl_parser", + source=[ + 'idl_parser.cpp' + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/base', + ] +) + +env.CppUnitTest( + target='idl_test', + source=[ + 'idl_test.cpp', + env.Idlc('unittest.idl')[0] + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/base', + '$BUILD_DIR/mongo/db/namespace_string', + '$BUILD_DIR/mongo/idl/idl_parser', + ], +) |