diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-10-26 15:18:01 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-10-26 15:18:01 -0400 |
commit | 5077c3a69145577c3193ea4c0111cdee415e1de6 (patch) | |
tree | 16f9e52114605cf5070459c6b72a86dea78bab06 /SConstruct | |
parent | 66819ed41e3583c3a9cfd495de9040583581290f (diff) | |
download | mongo-5077c3a69145577c3193ea4c0111cdee415e1de6.tar.gz |
SERVER-26727 make_vcxproj.py - add support for .filters and improve performance
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index fcac915d43e..2d3770c7565 100644 --- a/SConstruct +++ b/SConstruct @@ -2967,7 +2967,15 @@ def injectMongoIncludePaths(thisEnv): thisEnv.AppendUnique(CPPPATH=['$BUILD_DIR']) env.AddMethod(injectMongoIncludePaths, 'InjectMongoIncludePaths') -compileDb = env.Alias("compiledb", env.CompilationDatabase('compile_commands.json')) +compileCommands = env.CompilationDatabase('compile_commands.json') +compileDb = env.Alias("compiledb", compileCommands) + +# Microsoft Visual Studio Project generation for code browsing +vcxprojFile = env.Command( + "mongodb.vcxproj", + compileCommands, + r"$PYTHON buildscripts\make_vcxproj.py mongodb") +vcxproj = env.Alias("vcxproj", vcxprojFile) env.Alias("distsrc-tar", env.DistSrc("mongodb-src-${MONGO_VERSION}.tar")) env.Alias("distsrc-tgz", env.GZip( |