Boost logo

Boost-Build :

Subject: Re: [Boost-build] Detecting Boost version
From: niXman (i.nixman_at_[hidden])
Date: 2012-05-25 19:20:32

2012/5/26 Matthew Chambers:
> I want to read the BOOST_LIB_VERSION definition in version.hpp at
> parse-time; is this possible? If not, wouldn't an additional builtin rule
> like MATCH_FILE be reasonable (runs a regex line-by-line against a file) and
> easy to implement?

> #if BOOST_VERSION == 105000
> # include <boost/lockfree.hpp>
> #endif

Why do you need to parse the string? ;)

Dual-target(i686/x86_64) MinGW compiler for i686/x86_64 hosts:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at