Boost logo

Boost :

Subject: Re: [boost] Maintenance Guidelines wiki page (Revison 8)
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2008-11-27 05:01:17


Steven Watanabe wrote:
> AMDG
>
> David Abrahams wrote:
>>> [C] 5. Test
>>> [C] 1. Test headers [developer]
>>> [C] 1. Include each header files twice [developer]
>>> [I] 2. include each couple of header files in both orders
>>> [C] 3. Include all header files
>>> [C] 4. link all the header files twice
>>>
>>> A* See if the Jamfile to test the headers from Steve can be adapted to
>>> tests (Steve?)
>>>
>>
>> I don't know what that means.
>>
>
> 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) ;
}


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