summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-11-19 11:20:03 -0500
committerEliot Horowitz <eliot@10gen.com>2009-11-19 11:20:03 -0500
commite28a78dccd2fa946f0305280df55c920c5e838fe (patch)
treed538f5ec35692248dfce72165131765d27b885bb
parent253a1cd0cdd285e1b347f5df3e541ecf9980d99b (diff)
downloadmongo-e28a78dccd2fa946f0305280df55c920c5e838fe.tar.gz
more build docs, and aliases for windows
-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