summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod.sln
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2012-04-29 09:49:29 -0400
committerTad Marshall <tad@10gen.com>2012-04-29 11:22:39 -0400
commit2054d7ec88640bc2fe1a87f2a84caa7636bd106a (patch)
tree1aa93b0a583dddcbd4c4ce2ad10d08508671628b /src/mongo/db/mongod.sln
parent4da8a5df4b979ff426ccf6377e6e0bcf1f880111 (diff)
downloadmongo-2054d7ec88640bc2fe1a87f2a84caa7636bd106a.tar.gz
Visual Studio build improvements
Several changes to make Visual Studio match scons behavior more closely. Build SpiderMonkey from source in every executable that uses it so there is no dependency on separately downloaded pre-built .lib files. Make debug builds statically link the C runtime so there is no dependency on external C runtime DLLs. This is required for the Visual Studio debug build to work with IAT hooking. Use both the platform and configuration names (e.g. x64 Release) for the output directory structure so that switching between build types doesn't require recompiling everything. Make output directories be relative to the project file instead of the solution file so that projects that are included in more than one solution do not conflict across solutions. Rename db.vcxproj* to mongod.vcxproj* and rename dbgrid.vcxproj* to mongos.vcxproj* to make the files easier to find and associate with their executables. Add solution files mongod.sln and mongos.sln to make it easier to build individual executables. Organize filters to model the directory layout to make it easier to find files, break up the db filter into alphabetical groups, use the same pattern for mongod.exe and test.exe to make it easier to switch between projects without getting lost. Remove some non-existent files from project file lists.
Diffstat (limited to 'src/mongo/db/mongod.sln')
-rw-r--r--src/mongo/db/mongod.sln59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/mongo/db/mongod.sln b/src/mongo/db/mongod.sln
new file mode 100644
index 00000000000..de848863a6d
--- /dev/null
+++ b/src/mongo/db/mongod.sln
@@ -0,0 +1,59 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mongod", "mongod.vcxproj", "{215B2D68-0A70-4D10-8E75-B31010C62A91}"
+ ProjectSection(ProjectDependencies) = postProject
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A} = {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SpiderMonkey pre-build step", "..\..\third_party\js-1.7\SpiderMonkey-prebuild.vcxproj", "{7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ Win2008PlusDebug|Win32 = Win2008PlusDebug|Win32
+ Win2008PlusDebug|x64 = Win2008PlusDebug|x64
+ Win2008PlusRelease|Win32 = Win2008PlusRelease|Win32
+ Win2008PlusRelease|x64 = Win2008PlusRelease|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Debug|Win32.ActiveCfg = Debug|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Debug|Win32.Build.0 = Debug|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Debug|x64.ActiveCfg = Debug|x64
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Debug|x64.Build.0 = Debug|x64
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Release|Win32.ActiveCfg = Release|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Release|Win32.Build.0 = Release|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Release|x64.ActiveCfg = Release|x64
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Release|x64.Build.0 = Release|x64
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusDebug|Win32.ActiveCfg = Win2008PlusDebug|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusDebug|Win32.Build.0 = Win2008PlusDebug|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusDebug|x64.ActiveCfg = Win2008PlusDebug|x64
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusDebug|x64.Build.0 = Win2008PlusDebug|x64
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusRelease|Win32.ActiveCfg = Win2008PlusRelease|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusRelease|Win32.Build.0 = Win2008PlusRelease|Win32
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusRelease|x64.ActiveCfg = Win2008PlusRelease|x64
+ {215B2D68-0A70-4D10-8E75-B31010C62A91}.Win2008PlusRelease|x64.Build.0 = Win2008PlusRelease|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Debug|Win32.ActiveCfg = Debug|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Debug|Win32.Build.0 = Debug|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Debug|x64.ActiveCfg = Debug|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Debug|x64.Build.0 = Debug|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Release|Win32.ActiveCfg = Release|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Release|Win32.Build.0 = Release|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Release|x64.ActiveCfg = Release|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Release|x64.Build.0 = Release|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusDebug|Win32.ActiveCfg = Debug|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusDebug|Win32.Build.0 = Debug|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusDebug|x64.ActiveCfg = Debug|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusDebug|x64.Build.0 = Debug|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusRelease|Win32.ActiveCfg = Release|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusRelease|Win32.Build.0 = Release|Win32
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusRelease|x64.ActiveCfg = Release|x64
+ {7FA15DF8-14C8-4FD5-897B-6FACE8FDCF2A}.Win2008PlusRelease|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal