List Info

Thread: Testing installed components




Testing installed components
user name
2006-02-07 12:19:28
On Monday 06 February 2006 17:46, Phillip Seaver wrote:
> How hard would it be to automatically create a Jamfile
to be installed
> along with the libraries?  

It will be rather tricky. Imagine you build/install a
project twice, with 
different properties. Then, you'd need to load the previous
installed 
Jamfile, add new declarations to it, and write it again. And
you should take 
care not to write the same declaration twice, if case you
build/install twice 
with the same properties.

It's doable, but not very easy, and the structure of file
must be fixed.

> That could also help with the problem of some 
> libraries having usage requirements (in the case of
boost libs and in
> the more general case of building and installing
libraries with bbv2).

Alternatively, each installed library libfoo.so can be
accompanied by
libfoo.so.usage-requirements, and whatever Jamroot
responsible for globbing 
and declaring prebuilt targets can glob for those files as
well. Though it 
would require "read a file" builtin in jam, unless
we have one.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )