Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-18 06:52:41


Jürgen Hunold wrote:
> Hi !

Hi Jürgen,

>
> I'm happily playing around with V2 and discovered the msvc-toolset.

Oh.. it's less than one day old!

> I've encountered several (minor) problem:
> 1) How do I specify <include> paths ? I need to include
> "E:\Libraries\libX" and declare
> "use-project /libX: E:\Libraries\libX\src ; in toplevel Jamfile
> somehow. Even better would be if I could use $(LIBX_ROOT) because
> this is set on all platforms ;-))

I guess that E:\Library\libX\src contains Jamfile with some libraries. Then
you can write it like this:

project
: usage-requirements <include>.
;

lib X : x.cpp ;

Now, every target which refers to X will get proper includes

exe a : a.cpp @/libX/X ;

The tutorial section in boost_build_v2.html describes it. Or have I
misunderstood you?

Also, could you clarify the question about LIBX_ROOT. Do you mean using it
to tell where the library is located and do 'use-project' on that location?

> 2) The compile detection fails. I'd guess this is due to the fact that
> I'm using a german installation, where programs live in
> "C:\Programme" instead of "C:\Program Files".
> Any ideas about that ?

I'm pretty sure Rene had the same problem with "build.bat" script. We might
look there for an answer.

- Volodya

 


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