Boost logo

Boost-Build :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-19 12:53:52


AMDG

Rene Rivera wrote:
> Just to add my use case to it:
>
> project another ;
> local location = C:/some/path ;
> lib some_module : [ glob $(location)/src/*.cpp ] ;
>
> project mine ;
> exe my_exe : main.cpp /another//some_module ;
>
> Which would produce errors about missing sources of the form
> "/another//some_module/C:/some/path/src/foobar.cpp".

This case doesn't seem to cause any problems for me.
I just tested absolute paths for the <source> property
and it seems to work. The reason is that if we end up with
a property like <source>/another//C:/some/path/src/foobar.cpp,
project-target.find splits it at the //, finds the project corresponding
to /another and looks up C:/some/path/src/foobar.cpp in the context of
this project.

In Christ,
Steven Watanabe


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