best practices for using prebuilt boost libraries

View: New views
3 Messages — Rating Filter:   Alert me  

best practices for using prebuilt boost libraries

by Kuba Marek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
what are best practices for using prebuilt boost libraries?

I have boost libraries installed from gentoo portage and i've tried
the syntax i found at
http://boost.cppll.jp/HEAD/tools/build/v2/boost_build_v2.html
( exe test : test.cpp /boost/date_time//date_time ; ) but it didn't
work (not a surprise). So i tried adding

project /boost/date_time ;
lib date_time ;

to my /etc/site-config.jam , but it still doesn't help.
What works is adding boost_date_time to project site-config, but i
don't like that solution (I need some standard way of writing that
dependency, so that i don't have to explain some funny hacks to
everyone trying to build my app).

Thanks in advance.

Kuba Marek

--
Just a whisper. I hear it in my ghost.


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

signature.asc (205 bytes) Download Attachment

Re: best practices for using prebuilt boost libraries

by Vladimir Prus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 22 June 2009 Kuba Marek wrote:

> Hello,
> what are best practices for using prebuilt boost libraries?
>
> I have boost libraries installed from gentoo portage and i've tried
> the syntax i found at
> http://boost.cppll.jp/HEAD/tools/build/v2/boost_build_v2.html
> ( exe test : test.cpp /boost/date_time//date_time ; ) but it didn't
> work (not a surprise). So i tried adding
>
> project /boost/date_time ;
> lib date_time ;
>
> to my /etc/site-config.jam , but it still doesn't help.
> What works is adding boost_date_time to project site-config, but i
> don't like that solution (I need some standard way of writing that
> dependency, so that i don't have to explain some funny hacks to
> everyone trying to build my app).
>
> Thanks in advance.

Did you saw the answer I gave at:

        http://stackoverflow.com/questions/1001957/boost-build-site-config-jam-on-gentoo/1024314#1024314

?

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

Re: best practices for using prebuilt boost libraries

by Kuba Marek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Did you saw the answer I gave at:
>
> http://stackoverflow.com/questions/1001957/boost-build-site-config-jam-on-gentoo/1024314#1024314
>
> ?

Uh .. I didn't check SO yesteraday. Thanks for the answer!
Kuba

--
Just a whisper. I hear it in my ghost.


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

signature.asc (205 bytes) Download Attachment