Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-03 09:33:04

Hi Craig,

> lib libfoobar : $(SRC) ;
> Now, on a Linux platform, the resulting output will be:
> On Windows, this will be:
> libfoobar.dll
> I don't want this, I want the output of this to be:
> on Linux
> foobar.dll on Windows

You can write:

lib foobar : $(SRC) ;

and then use the 'tag' feature to decorate the name to your liking. Take a
look at tests/ It has a big Jamfile block at the beginning which can
serve as example. You can also look at tools/stage.jam, rule 'rename'.

But probably we should add 'lib' automatically on Unix if no <tag> is

> libfoobar.dylib on Mac OSX

Is this the right suffix for OSX? I think small tweak to tools/type/lib.jam
should do the trick.

- Volodya

Vladimir Prus
Boost.Build V2:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at