MongoDB C++ Driver 编译参数

来源:互联网 发布:怎样使用淘宝金币 编辑:程序博客网 时间:2024/05/06 09:08

1. --32编译32位版本

2.--libpath="E:\Study\boost_1_58_0\stage\lib" 指定boost lib 目录

3.--cpppath="E:\Study\boost_1_58_0" 指定boost include 目录

4.--dynamic-windows 设置编译选项为:/MD

5.----dbg=on 设置编译类型为Debug模式

6.--dynamic-boost=off  静态连接boost库

最终命令:scons --32 --libpath=E:\Study\boost_1_58_0\stage\lib --cpppath=E:\Study\boost_1_58_0 --dynamic-windows --dbg=on --dynamic-boost=off install

0 0
原创粉丝点击