diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-08-28 11:14:26 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-08-28 11:14:26 -0400 |
commit | 27299f6d78a709c6d51c6280c3fec8bd83b1f2a8 (patch) | |
tree | a507680adde66f76bc64bf0ce8bdfba5252001c7 /SConstruct | |
parent | af2d29ca3008f098ccfea7199538e96ee0861218 (diff) | |
download | mongo-27299f6d78a709c6d51c6280c3fec8bd83b1f2a8.tar.gz |
--cxx option
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 4b7243ef1e3..20a1da2d26e 100644 --- a/SConstruct +++ b/SConstruct @@ -142,6 +142,13 @@ AddOption( "--extrapath", action="store", help="comma seperated list of add'l paths (--extrapath /opt/foo/,/foo" ) +AddOption( "--cxx", + dest="cxx", + type="string", + nargs=1, + action="store", + help="compiler to use" ) + AddOption( "--boost-compiler", dest="boostCompiler", @@ -201,6 +208,8 @@ usesm = not GetOption( "usesm" ) is None usejvm = not GetOption( "usejvm" ) is None env = Environment( MSVS_ARCH=msarch ) +if GetOption( "cxx" ) is not None: + env["CXX"] = GetOption( "cxx" ) env["LIBPATH"] = [] if GetOption( "recstore" ) != None: |