Boost logo

Boost :

Subject: Re: [boost] Maintenance Guidelines wiki page (Revison 8)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-27 12:19:24


AMDG

Ilya Sokolov wrote:
>> The Jamfile in libs/units/test_headers handles 5.1.1, 5.1.3, and 5.1.4
>
> How about this (untested):
>
> import cast : cast ;
>
> rule setup ( ) {
> for local file in $(headers) {
> result += [ compile
> [ cast _ cpp : $(file) ] : :
> [ regex.replace [ path.relative-to ../../.. $(file) ] "/" "_" ]
> ] ;
> }
> return $(result) ;
> }

The current version does:

#include <file>
#include <file>

which is slightly better because it can catch missing/incorrect include
guards.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk