2
Instructions for compiling MongoDB in Visual Studio 2008
3
========================================================
5
Visual Studio Solution:
6
-----------------------
8
mongo.sln -> MongoDB solution that contains all projects necessary for building applications and libraries.
12
Static Library Projects:
13
------------------------
15
mongo_common -> common MongoDB files
16
core_server -> score server files
17
server_only -> files for building server-only applications
18
shard_server -> shard server files
21
Console Application Projects:
22
-----------------------------
24
mongod -> MongoDB server (links mongo_common and server_only)
25
mongo -> MongoDB shell (links mongo_common)
26
mongobridge -> MongoDB bridge server shell (links mongo_common and server_only)
27
mongodump -> MongoDB dump application (links mongo_common and server_only)
28
mongoexport -> MongoDB export application (links mongo_common and server_only)
29
mongofiles -> MongoDB files application (links mongo_common and server_only)
30
mongoimportjson -> MongoDB import json application (links mongo_common and server_only)
31
mongorestore -> MongoDB restore application (links mongo_common and server_only)
32
mongos -> MongoDB shard server (links mongo_common, core_server and shard_server)
35
Client Driver Library:
36
-----------------------------
38
mongoclient -> static library containing client driver files
45
1) All static libraries derive project settings from Project Property Sheet "mongo_lib"
46
(View->Other Windows->Property Manager). Settings configured in this Property Sheet will
47
be inherited by all static library projects (Include Directories, Library Directories, etc).
49
2) All console applications derive project settings from "mongo_app".
51
3) msvc_scripting.cpp is used to control the javascript library to use - to change, simply
52
modify the "Preprocessor" project setting in the Property Sheets to reflect the required
53
javascript option (USESM or NOJNI).