gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 22:49:58 26 4
gpt4 key购买 nike

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

最佳答案

抱歉从 boost 安装报告错误。添加确实有效,除了它需要在 boost Jamroot 中完成

关于bjam - 添加到 Jamroot 中的包含路径 (-I),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6957812/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com