List Info

Thread: How to reference Boost header include path fromoutside the Boost tree?




How to reference Boost header include path fromoutside the Boost tree?
user name
2006-03-30 16:34:27
> You should using something like this:
>
>  projec yours :
>     requirements <use>path_to_boost//headers ;
>
>  run myfile ;
>
> Or you can have:
>
>  run myfile path_to_boost//headers ;
>
>
> This is not fully covered in docs, I'll try to update
>
> http://www.boost.org/boost-build2/
doc/html/bbv2/faq/header-only-libraries.html
>
> with information about *using* header-only libraries,
as opposed to
> declaring them.

What advantage does that have over just
<include>path-to-boost ?

In any case it completely misses the point: I know where
Boost is on my 
machine, I don't know where it is on someone elses machine
(who may be 
running my examples).  bjam on the other hand *does* know
where boost is, 
because it's located the build system.  It's that
information I want to pull 
out.

John. 

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

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