Questions tagged [bjam]

bjam is the old name of the engine used by Boost.Build The new name is b2

263 questions
0
votes
1 answer

How can I include the Jambase file to my build?

I'm trying to setup a simple bjam build example, where I use the SubDir rule in my top-level Jamroot.jam file: SubDir TOP ; exe main : main.cpp ; I'm using boost_1_58_0 and when I leave out the SubDir directive, the build works fine. But when I…
dirkbaechle
  • 3,984
  • 14
  • 17
0
votes
1 answer

bjam execution in boost's example/tutorial failed

As instructed on http://www.boost.org/doc/libs/1_62_0/libs/python/doc/html/tutorial/tutorial/hello.html I entered bjam in the folder's directory (C:\Program Files\boost\boost_1_65_1\libs\python\example\tutorial) and got the following…
A T
  • 23
  • 5
0
votes
1 answer

How do I specify dependencies in libraries in Jamfiles?

I need to link against a set of libraries in boost.build`. How do I specify the linking order? This is what I have in the Jamfile. exe sim_strategy : sim_strategy.cpp : -lOptionsUtils -lVolatileTradingInfo …
Humble Debugger
  • 4,439
  • 11
  • 39
  • 56
0
votes
0 answers

How to compile boost library for Nintendo DS Lite (arm none eabi g++ compiler)?

I want to compile the c++ boost library for the NDS (on a Windows machine). I followed this tutorial: https://patater.com/boost-on-the-nintendo-ds/ This is my project-config.jam: import option ; using gcc : 6.3.0 : arm-none-eabi-g++.exe…
user7353781
  • 155
  • 2
  • 10
0
votes
3 answers

What harm can come from defining BOOST_DISABLE_ABI_HEADERS when compiling boost?

What harm can come from defining BOOST_DISABLE_ABI_HEADERS when compiling boost? From the boost file: boost_1_37_0\boost\config\user.hpp // BOOST_DISABLE_ABI_HEADERS: Stops boost headers from including any // prefix/suffix headers that normally…
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
0
votes
0 answers

How do I get bjam to set include paths for OpenSSL headers and libraries on MSVC?

I'm trying to add code that uses OpenSSL to my bjam based program on MSVC, but I can't figure out how to get the include paths for OpenSSL added (without hard-coding the directory, which would only work on my machine). What I'm asking, is how to get…
Vinnie Falco
  • 5,173
  • 28
  • 43
0
votes
1 answer

BJAM , building for vc-80 instead of vc7.1

How can i build a boost library date_time using bjam for vc80. currently I am using ..\bjam.exe release debug threa ding=multi --toolset=msvc-8.0 stage --with-date_time --build-type=complete --deb ug-configuration -d+2 This only generates libraries…
Pradyot
  • 2,897
  • 7
  • 41
  • 58
0
votes
1 answer

bjam: Use same actions for multiple rules

I have an action defined that generates coverage files, it takes some options. actions coverage { echo coverage $(OPTIONS) >> $(<) } I need a rule to set the $(OPTIONS) variable: rule coverage ( targets * : sources * : properties * ) { …
Christian Aichinger
  • 6,989
  • 4
  • 40
  • 60
0
votes
1 answer

Is it possible to install the debug and release variant of a library with same command?

I am using the following Jamfile ( in directory /home/morpheus/base/CDef ) : lib CDef : [ glob *.cpp ] : static ; install libCDef : CDef : LIB "/home/morpheus/base_install/lib" : release ; install _libCDef_D : CDef : LIB …
Humble Debugger
  • 4,439
  • 11
  • 39
  • 56
0
votes
1 answer

Jamroot (boost-bjam) linking with shared libraries

I am using Jamroot/boost-bjam to build a python binding for C++ code: alias boost_dependencies : /boost/python//boost_python /boost/thread//boost_thread ; # Platform architecture provided as an environment variable import os ; local ARCH…
ssk
  • 9,045
  • 26
  • 96
  • 169
0
votes
1 answer

Boost Build (bjam): Rerun test suite after success

How do I rerun a testsuite defined via the run directive in Boost Build? Sample Jamroot file: project test ; exe a_runner : a.c ; run a_runner : : : : a_run ; Running it once works as expected: caichinger@pc120:/tmp$ bjam -t a_run ...found 15…
Christian Aichinger
  • 6,989
  • 4
  • 40
  • 60
0
votes
1 answer

Boost Build: Use a feature or a variable

I have a DB integration test that I'm running using Boost Build. The test needs some commandline args (DB username, password). What's the best way to set that via Boost Build in a way that's configurable by the user (via environment variables, bjam…
Christian Aichinger
  • 6,989
  • 4
  • 40
  • 60
0
votes
2 answers

How to force bjam to build but don't to run boost regression test suite?

I need to build boost regression test suite on a build machine (linux) and then run on a SUT (target machine, linux). The necessary boost libraries are already installed on the SUT as shared ones. I have properly installed gcc toolchain on the build…
tsapelman
  • 1
  • 2
0
votes
0 answers

Boost.Build get Compiler command

I'm trying to add support for embedded devices to boost.build. For that I need two additional commands arm-none-eabi-objcopy and arm-none-eabi-size. Since the toolchain can change I would need to get those two commands (and not hardcode them),…
0
votes
1 answer

Building libtorrent with openssl with BJam

I am trying to build libtorrent (http://www.libtorrent.org/) using the provided jamfile. If I try to build it in its vanilla state everything goes well. I am then building using this command: bjam msvc-12.0 boost=source However I want to build it…
jimmy
  • 1,981
  • 3
  • 19
  • 28