添加到Jamroot中包含路径(-I)

时间:2011-08-05 14:20:36

标签: bjam

我有一个基于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

1 个答案:

答案 0 :(得分:0)

道歉,从boost安装报告错误。添加确实有效,除了需要在boost Jamroot

中完成