bjam

Boost 1.37

I can't find a pre-built set of MSVC++ libs for Boost 1.37.0 (latest stable version), only the source. I don't understand how their weird build system works... are there any places I can find a download of a visual studio project or something? ...

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 control things like struct // packing and alignment. //#define BOOST_DISABLE_ABI_HEADERS...

Building a subset of boost in windows

Hi! I'm trying setup a subset of boost and get it properly compiled using bjam, however I'm not getting the result I'm looking for. I'm working on windows using boost 1.37.0. Let's say I want the libraries smart_ptr and filesystem built/installed. I intentionally chose a header only library and one library needing to compile a library....

How can I work with filenames with spaces in bjam?

I need to describe an external library in a Jamfile. The location of the library is held in an environment variable. set EX_LIB_PATH=C:\Program Files\Ext Here is the snippet from the Jamfile: --snip-- lib extlin : : <file>$(EXT_LIB_PATH)/lib/library.lib ; --spin-- bjam croaks saying that "C:\Program" cannot be found. What can b...

what is boost jam and is it jam worth migrating to?

what is boost jam and is it jam worth migrating to? I understand that jam is build system built by perforce however I am not sure how the boost jam & regular jam is different. I'm also hoping there could be someone in the SO community who has worked with it and maybe can highlight some differences and/or benefits. ...

Does Boost::Jam (bjam) have a "question mode"?

I use Code::Blocks with Boost::Jam. A recent update to C::B added some new "custom makefile" commands, one of which is "ask if rebuild is needed". According to this message, it's meant to call make in a "question mode": -q, --question ‘‘Question mode’’. Do not run any commands, or print anything; just return an exit status that is...

how do delete test generated temp files in with boost build(bjam)

I am new to boost build. I have test suite that is built with boost bjam(jamfiles). The test generates a lot of temporary files. I want to specify a rule that when the test is built OR when bjam clean is called it also removes my generated test data, ready for a new run. This is trivial in make, but I cant find any references of how to ...

Change GCC version used by bjam

I am trying to build a library (luabind) with bjam. I came across an error and it seems like the problem is that I need to compile with gcc 4.2, but the default on this computer (Mac OSX) is 4.0. I would prefer not to go around changing links in system directories, is there a way to specify to bjam to use gcc4.2 rather than just gcc? ...

Boost Jam Not Producing Thread Library on Windows

I downloaded the latest Boost Jam binary from SourceForge and I'm using the command: bjam toolset=gcc --build-type=complete stage I've installed Cygwin along with the GCC compiler. While the command produces a stage/lib directory, I cannot find the thread library that I'm using in Linux. Boost Jam takes a while to run, so there coul...

Boost.Build best practice to introduct a pre-built libary to the project

We currently use the `lib' like this to introduce an external pre-built library into a project: lib ace_lib_static : : <name>libboost_ace-vc80-mt-sgd.lib <variant>debug <toolset>msvc <address-model>64 <search>../lib/ACE_wrappers/lib64 ; lib ace_lib_static : : <name>libboost_ace-vc80-mt-s.lib <variant>rele...

How to see what g++ command-lines Boost.Build invokes (1.33.1)

Hi, I'm scratching my head, trying to figure out why the import libraries are not generated when I build the Boost libraries on my machine. More specifically, building the DLLs works fine, but where I would previously (i.e. before I reinstalled my machine) generate the import libraries correctly. Some specs: Boost 1.33.1 g++ 4.3.3 TD...

Makefile generator for c++?

Do the following build systems: cmake, jam and bjam also generate makefiles like qmake does? What utility does MS visual c++ uses to generate make file? ...

simple install using bjam

I'm a boost.build newby and while bjam is quite easy to use for most compiling tasks and I didn't figured out how to do something that should be really simple : installing my application in the system. Say I have a very simple project with two files in tree (besides Jamroot). hello.cpp : a C++ program say it prints the content of /etc...

change command used by bjam when installing C++ boost library

Hi, I am trying to make the installation of boost library a little bit slower. So I add this in /etc/site-config.jam using gcc ; ; "sleep 10; g++" ; However, it gives this error: $ ./bjam install \/etc/site-config.jam:5: syntax error at keyword ; /etc/site-config.jam:5: in load rule sleep 10; g++ unknown in module pch. /t...

Bjam: ignore specific library

Using Visual Studio, it is possible to 'Ignore Specific Library' (Project Properties > Configuration Properties > Linker > Input > Ignore Specific Library). We found this useful in a project. Now we want to build that project using boost-build (bjam), but we need to reproduce that linker behaviour. Is there any ignore library feature w...

Static Compile of Thread Example

I compiled the Boost C++ libraries as follows: bjam install variant=release link=static threading=multi runtime-link=static No errors. Then I compiled the following source: #include <boost/thread/thread.hpp> #include <iostream> #define BOOST_THREAD_NO_LIB void hello() { std::cout << "Hello world, I'm a thread!" << std::endl; } i...

Linking to boost unit test framework with boost build

Hello, 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 test library. I don't want to use file paths since my code is portable. Thanks...

Building and using shared libraries with bjam

Hello! Using bjam on ubuntu, I am building a c++ shared library and trying to use it in an executable. I have to build as shared since it wont link as static (lots of undefined references arise). Thats fine. Two related problems: 1) Using a heirarchy of Jamfiles, my exe project (testServerHub) has a dependency on the shared library (p...

Boost, bjam, and symbolic links

Hello, 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 -> libboost_date_time-gcc41-mt-1_39.so.1.39.0 libboost_date_time-gcc41-mt-1_39.so.1.39.0 libboost_date_time-gcc41-mt.a -> libboost_date_time-gcc41-mt-1_39.a libbo...

Is it possible to generate a .h macros file from bjam?

I need to dynamically generate some macros into a .h configuration file that C programs can include in order to check which options are enabled, in a fashion similar to what is possible with CMake's CONFIGURE_FILE macro. But after looking in the doc and the web, I could not find something useful. Is it possible to generate such a file fr...