summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct8
-rw-r--r--docs/building.md7
2 files changed, 15 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index d6013e13cd6..341124c0543 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1263,6 +1263,7 @@ def installBinary( e , name ):
global allBinaries
if windows:
+ e.Alias( name , name + ".exe" )
name += ".exe"
inst = e.Install( installDir + "/bin" , name )
@@ -1322,6 +1323,13 @@ if distBuild or release:
#final alias
env.Alias( "install" , installDir )
+# aliases
+if windows:
+ env.Alias( "mongoclient" , "mongoclient.lib" )
+else:
+ env.Alias( "mongoclient" , "libmongoclient.a" )
+
+
# ---- CONVENIENCE ----
def tabs( env, target, source ):
diff --git a/docs/building.md b/docs/building.md
index d3a71f6e369..3f18557f986 100644
--- a/docs/building.md
+++ b/docs/building.md
@@ -22,6 +22,13 @@ Scons
Please note that prebuilt binaries are available on mongodb.org and may be the easier way to get started.
+scons targets
+-------------
+* mongod
+* mongos
+* mongo
+* mongoclient
+
*general notes
---------------
COMPILER VERSIONS