【发布时间】:2011-01-06 12:45:20
【问题描述】:
使用 boost build,如果我可以在我的 jamfile 中链接到 boost python 库:
项目 myProject :要求 /boost/python//boost_python ;
如何链接到增强测试?我已经构建了 boost 测试库。
我不想使用文件路径,因为我的代码是可移植的。谢谢
硅
【问题讨论】:
标签: python boost build testing bjam
使用 boost build,如果我可以在我的 jamfile 中链接到 boost python 库:
项目 myProject :要求 /boost/python//boost_python ;
如何链接到增强测试?我已经构建了 boost 测试库。
我不想使用文件路径,因为我的代码是可移植的。谢谢
硅
【问题讨论】:
标签: python boost build testing bjam
如果您的标准(或预构建)库安装在不同机器之间可能不同的位置,您可以考虑使用 site-config。然后可以在每台机器上调整站点配置,但项目 Jamfile 保持不变。
【讨论】: