Boost logo

Boost-Build :

From: Dave Rahardja (drahardja_at_[hidden])
Date: 2007-04-22 09:56:52


> -----Original Message-----
> From: boost-build-bounces_at_[hidden]
> [mailto:boost-build-bounces_at_[hidden]] On Behalf Of
> Andrej van der Zee
> Sent: Sunday, April 22, 2007 2:25 AM
> To: boost-build_at_[hidden]
> Subject: [Boost-build] target names
>
> Hi,
>
> I am new to bjam and now I am struggling with the
> names of targets. I want to build an exe-target with a
> dot in its name ("name.ext"). For example, if I do the
> following:
>
> exe name.ext
> : [ glob *.cpp ]
> ;
>
> It creates an executable called "name" instead of
> "name.ext".
>
> Also, I want to build an Apache module (a shared
> library) that is called "mod_name.so". When I use
> something like this:
>
> lib mod_name
> : [ glob *.cpp ]
> ;
>
> It prepends "lib" to the name.
>
> Is there anyway to have more control over the target
> names? How can I fix this?
>
> Thanks,
>
> Andrej

You can't. The target naming conventions are controlled by the tool
definitions. You need to modify those definitions to get what you need.

-dr


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