我有一个基于iostreams的增强项目和执行
export CPATH=/apps/bzip2/include/
在bjam link=static
工作之前。有没有办法在Jamroot中设置它:
project infracore
: requirements
<include>$(PROJECT_ROOT)_install
<include>$(BOOST_INCLUDE_BASE)
<include>$(BZIP2_INCLUDE_BASE) #this does not work it seems
<library>/boost/filesystem//boost_filesystem
<library>/boost/system//boost_system
<library>/boost/date_time//boost_date_time
<library>/boost/iostreams//boost_iostreams
<variant>debug:<inlining>off
<variant>debug:<debug-symbols>on
<variant>debug:<optimization>off
<variant>debug:<warnings>on
<variant>release:<warnings>on
<library-path>/apps/bzip2/lib
<library-path>/apps/zlib/lib
<link>static
;
# Libraries
build-project UtilsCode ;
build-project ProfilerCode ;
build-project CommonDataStructuresCode ;
build-project Math ;
# Executibles
build-project fixfast ;
build-project Tools ;
build-project RiskConsole ; #u2ic
答案 0 :(得分:0)
道歉,从boost安装报告错误。添加确实有效,除了需要在boost Jamroot
中完成