From 5077c3a69145577c3193ea4c0111cdee415e1de6 Mon Sep 17 00:00:00 2001 From: Mark Benvenuto Date: Wed, 26 Oct 2016 15:18:01 -0400 Subject: SERVER-26727 make_vcxproj.py - add support for .filters and improve performance --- SConstruct | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'SConstruct') 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( -- cgit v1.2.1