`

scons 编译 mongodb client lib

 
阅读更多
Use scons to build MongoDB and related utilities and libraries.  See the SConstruct file for details.

Run scons --help to see all options.

Targets
Run scons <target>.

scons .
scons all
scons mongod build mongod
scons mongo build the shell
scons shell generate (just) the shell .cpp files (from .js files)
scons mongoclient build just the client library (builds libmongoclient.a on unix)
scons test build the unit test binary test
Options
--d debug build; all this does is turns optimization off
--dd debug build with _DEBUG defined (extra asserts, checks, etc.)
--release
--32 force 32 bit
--64 force 64 bit
--clean
--mute suppress compile and link command lines
Troubleshooting
scons generates a config.log file. See this file when there are problems building.

#add boost
boostDir = "E:/boost"
env.Append( CPPPATH=[ boostDir ] )
env.Append( LIBPATH=[ boostDir + "/lib" ] )


转自:http://www.mongodb.org/display/DOCS/scons
分享到:
评论

相关推荐

    scons控制编译工程例子

    linux一般通过makefile控制编译。linux代码目录结构是 +scons_project_root 【src】 #源代码目录 ...总结,每个目录都可以单独编译,对于某工程师只负责某部门lib,提高编译效率。这个是非常方便的。

    Vs2010编译 mongodb c++驱动详述

    1.编译环境 (1)下载vs2010 (2) 下载python2.7 ...python-2.7.11.msi 下载scons2.4.1,The current production release of SCons is 2.3.0; http://www.scons.org/doc/ ...注意:这里编译的应该是boost的动态库和 lib。

    MongoDB C++驱动编译教程VS2010 VS2012 VS2015

    MongoDB C++驱动编译教程,采用scons完成MongoDB C++驱动的编译,包括 boost库下载地址,MongoDB C++t驱动下载地址,包括Python 2.7.16版本 32位 X86安装包,以及驱动编译的具体教程,及编译过程中的几个示例。...

    scons 在windwos 下编译objective-c 脚本

    scons 在windwos下编译objective-c 的脚本,在windwos环境下写测试用例使用。前提是机器上已安装了gnustep工具,四个常用的工具,http://blog.csdn.net/tomatofly/article/details/6034116 作参考。

    自动化编译工具scons简介

    自动化编译工具scons简介 自动化编译工具scons简介 自动化编译工具scons简介

    scons-x-compile:交叉编译 (windowslinux) SCons 与 SDL2 一起使用的示例

    scons-x-编译交叉编译 (windows/linux) SCons构建助手。 在一篇关于从 linux 交叉编译 Windows 的 SDL 项目的文章中用作示例。 存储库有许多可以检出的分支,每个分支都增加了先决条件。 交叉编译是使用x86_64-w64-...

    scons3.0.1 scons-design

    scons3.0.1 scons-design

    scons3.0.1 scons-man

    scons-manscons-man

    scons-user.pdf

    该文档适合于SCONS的入门,SCONS是编译的构建工具,现在非常流行,同时很流行的还有CMAKE,二者有取代MAKE的趋势。

    新一代编译软件scons

    机遇Python的编译语法,不需要再去熟悉繁琐的Makefile

    python和scons安装

    python和scons安装包及安装截图说明,适合windows 64位系统。没找到分值设置位置,建议版主设置分数为1分

    scons用户手册

    SCons 2.5.1 用户手册,跨平台编译脚本工具。不需要编写makefile

    scons-2.5.1.tar.gz

    scons

    Python2.6 scons1.3

    Python2.6 scons1.3

    scons用户手册(英文)

    scons类似于makefile,只是scons是python编写的,并且搭建scons比搭建makefile简单,其中python语言也很容易学习,不过这个文档没有详细的一个大型项目的搭建用例,请注意是英文版

    scons windows安装包

    windows上scons安装包scons-3.0.0-setup.exe,需要pc预装python2.7,点击安装scons-3.0.0-setup.exe,会搜索python2.7安装路径,默认安装到Python27\Lib\site-packages\scons-3.0.0下面

    scons-mdk.zip

    用scons构建mdk工程,是非常完善的一个工程,构建后能成功编译,并且下载到板子上,能正常输出串口信息

    scons-local-2.0.1

    scons是一个Python写的自动化构建工具,从构建这个角度说,它跟GNU make是同一类的工具。它是一种改进,并跨平台的gnu make替代工具,其集成功能类似于autoconf/...scons是一个更简便,更可靠,更高效的编译软件。

    scons2-2-0

    scons-2.2.0.rar使用工具

Global site tag (gtag.js) - Google Analytics