Boost logo

Boost-Build :

Subject: [Boost-build] How to dynamically get the source?
From: Paulo Márcio Figueiredo Alves (pauloalves1986_at_[hidden])
Date: 2013-12-04 06:09:20


Hi,

I`m trying to get the source during the build, and then compile it. This
works if I call twice:

# - - -
import path ;

actions get-source
{
    svn export/checkout https://myrepo/svn/foo somewhere
    # Or I could use wget, create a .cpp etc
}
make source-code : : @get-source ;
explicit source-code ;

lib a_random_library_name : [ path.glob somewhere : *.h *.cpp ] :
<dependency>source-code ;
# - - -

Any idea how to make it work?



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