Boost logo

Boost-Build :

Subject: Re: [Boost-build] always exec a make rule
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2011-02-01 15:40:59


Oliver Kowalke wrote:
> a Jamfile cotnains a make rule
>
> ...
> make xyz.hpp
> : xyz_header
> : @copy-xyz_header
>
> how can I achieve that the make rule will always executed before
>
> test-suite "xyz" :
> [ run test_xyz.cpp ]
> ;
>
> ?
> I didn't found a solution in the build docu (I assume that 'xyz.hpp' must be
>made as dependecy for test-suite 'xyz').
>
> regards,
> Oliver

test-suite "xyz" :
     [ run test_xyz.cpp ]
     : <dependency>xyz.hpp
     ;

?

HTH,
Gevorg


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk