【发布时间】:2017-04-10 18:30:13
【问题描述】:
我正在尝试从 Boost.Build 迁移到 Bazel 构建系统。我需要为正在构建库的目录编写 Jamfile。
我拥有的 Jamfile 是
project : usage-requirements <include>$(PROJECT_INSTALL)
<linkflags>-lboost_system
;
lib CommonDataStructures : [ glob *.cpp ] : <link>static ;
install libCommonDataStructures
: CommonDataStructures
: <install-type>LIB
<variant>release:<location>"$(PROJECT_INSTALL)/lib"
<variant>debug:<location>"$(PROJECT_INSTALL)/libdebug"
: release debug
;
如何为 Bazel 编写 BUILD 文件?
【问题讨论】:
标签: c++ gradle bazel boost-build