I want to recompile our boost library, but with the -g, debugging flag enabled. I've been reading and see that we build boost with jam
. While I know make
very well, jam
has always eluded me and my frustration is mounting.
To compile anything in Boost, you need a directory containing the boost/ subdirectory in your #include path. depending on your preference regarding the use of angle bracket includes. Don't be distracted by the doc/ subdirectory; it only contains a subset of the Boost documentation. Start with libs/index.
That infrastructure does warn in their README that building Boost with CMake does not work yet and is not supported .
Go to Project properties → C/C++ → General → Additional Include Directories, and add a path to the boost library root (in my case C:\Program Files (x86)\Boost_1_53 ). Include a . hpp file in your sources, like #include <boost/lexical_cast/lexical_cast_old. hpp>
Boost is a set of libraries for the C++ programming language that provides support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. It contains 164 individual libraries (as of version 1.76).
Sorry. I know answering your own question is distasteful, but I was able to figure this out shortly after posting. the cxxflags
and cflags
properties are what I need to use, as outlined at: http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html under the PROPERTIES sectin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With