bjam is the old name of the engine used by Boost.Build The new name is b2
Questions tagged [bjam]
263 questions
0
votes
2 answers
Integrate GCOV with Bjam
I am creating boost unit test cases and I need to get the code coverage for the same. I am planning to use GCOV and LCOV for getting the code coverage.
Can someone help me in getting the configuration in Jamfile for GCOV and LCOV integration with…

CodeBeginner
- 167
- 1
- 3
- 11
0
votes
1 answer
Separating Parallel Output From a Boost Build Compile
Is it possible to deinterleave the standard output from the execution of a parallel boost build session? I am interested in knowing which thread compiles which file with the ultimate goal of time tagging each compilation command to debug a possible…

dead_paulie
- 1
- 2
0
votes
1 answer
Change of file extension in jam script
How can i change extension from an input files in jam script. On linux box i have following working code -
for local var in $(objFiles)
{
local objName = [ SHELL "var1=$(var); echo ${var1%.cpp}.obj" ] ;
obj $(objName) : $(var) :…

Manish Shukla
- 562
- 6
- 18
0
votes
1 answer
bjam installation on RedHat centos 7 ppc64
I am trying to install OSRM and have followed the instructions on the link below.
But am coming stuck when as I do not seem to ave laubind-0.9.1.
I would like to install bjam on my linux system of RedHat Centos 7 ppc64, as I would like to use it to…

h.l.m
- 13,015
- 22
- 82
- 169
0
votes
0 answers
boost build b2/bjam build configuration
I'm currently working on a c++ project that uses bjam (boost build) as a builder. For now I was quite happy with this build system and everything works nicely, however with one exception which I could not find an easy solution for:
I would like to…

steve
- 133
- 1
- 2
- 10
0
votes
1 answer
Integrate Bjam with Eclipse CDT?
I have multiple Jamfiles in my source tree.
Some are for building some executables. Some for static libraries.
By default Eclipse CDT to compile, and I would like to use bjam instead (because other people in the team use bjam and maintain those…

Hei
- 1,844
- 3
- 21
- 35
0
votes
1 answer
Boost build v2 with CodeSynthesis XSD
I'm trying to learn how to use boost build. For starters, I'd like to run the codesynthesis xsd tool on an xsd file to generate c++ code. This tool takes one file as input and generates multiple output files. I'm having some difficulty figuring out…

Brian
- 313
- 2
- 12
0
votes
1 answer
Boost build show default toolset and version
Is there anyway to have boost build (bjam/b2) show the default toolset and version that it will use?
Without explicitly specifying a toolset, there is some way it settles on a toolset and version such as gcc-4.8 or darwin-4.2.1.

syvex
- 7,518
- 9
- 43
- 47
0
votes
0 answers
How can I build a Boost Build target from outside my Jamroot directory?
Make has a command line option -C that allows you to run make as if you were building from a particular directory. This option is important if you want to avoid cd'ing all over your filesystem from a script.
How can I accomplish the same thing with…

vmrob
- 2,966
- 29
- 40
0
votes
1 answer
How can I make the target name of a Boost Build rule templated?
I have a small Jamfile that I process with Boost Build that looks like this:
exe add-account : add-account.cpp ..//server-lib ../../shared//shared ;
exe add-deck : add-deck.cpp ..//server-lib ../../shared//shared ;
exe…

vmrob
- 2,966
- 29
- 40
0
votes
0 answers
Can't locate Boost headers files when compiling with b2 tool
I am trying to compile my program using b2 tool, I defined a Jamroot file as following to assist in the compilation.
When I execute the command 'b2 toolset=gcc', I get multiple error stating that b2 can't find Boost header files like asio.hpp and…

IoT
- 607
- 1
- 11
- 23
0
votes
1 answer
Building Boost library
The problem is I have two versions of Visual Studio (VS 2008 and VS 2012) installed on my PC. I want to build Boost library *.lib files for the older one. Unfortunately bjam.exe automatically compiles binaries for VS 2012. How to change the…

Madras
- 77
- 7
0
votes
2 answers
Boost::Python: Passing custom arguments to gcc when building python-extension
I need to pass -Wl,-rpath,\$$ORIGIN/lib/ to g++'s linker (reason). Is there a way to pass this argument in Jamroot file?

Ivan Vučica
- 9,529
- 9
- 60
- 111
0
votes
2 answers
Boost, bjam, and symbolic links
I generated some Boost librairies with bjam, and I get many symbolic links.
For date_time :
libboost_date_time-gcc41-mt-1_39.a
libboost_date_time-gcc41-mt-1_39.so ->…

Oodini
- 1,092
- 6
- 11
- 22
0
votes
1 answer
Linking to boost unit test framework with boost build
Using boost build, if I can link to a boost python library with this in my jamfile:
project myProject : requirement
/boost/python//boost_python ;
how can I link to boost test? I have built the boost…

Simon Pickles
- 3
- 1