AMDG
The reason that this doesn't work is that
On 12/04/2013 03:09 AM, Paulo Márcio Figueiredo Alves wrote:
> 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?
>
path.glob runs before the svn command. To
make this work correctly, Boost.Build needs
to know all the targets that will be created
by your action.
In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build