Boost logo

Boost-Build :

From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2007-04-16 10:56:52


You can define a project in your jamroot file
project : requirements
    <include>c:/Boost/include/boost-1_33_1 ;
and then you write
exe hello : hello.cpp ;

see for example
http://boost.org/doc/html/bbv2/tutorial/properties.html

Renaud

> -----Message d'origine-----
> De : boost-build-bounces_at_[hidden]
> [mailto:boost-build-bounces_at_[hidden]]De la part de Alberto
> Envoyé : lundi 16 avril 2007 09:25
> À : boost-build_at_[hidden]
> Objet : [Boost-build] Setup include directory projectwise
>
>
> I'm looking for a way setup _global_ include and library definition.
>
> Example:
>
> exe hello : hello.cpp : <include>C:\\Boost\\include\\boost-1_33_1 ;
>
> Instead of writing something like this I'd like to have:
>
> exe hello : hello.cpp ; (included by default or by project)
>
> or at least a
>
> exe hello : hello.cpp boost ; (boost project setup somewhere else)
>
>
>
> I new to jam, so I'm probably missing something obvious,
> thanks for any help.
>
> --
> Alberto
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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