Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to build a lib and exe with same name
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-10-19 10:10:53


On 10/18/2012 03:24 AM, Ñî¼Ì³¬ wrote:
> lib calc : basic_calc.c advance_calc.c calc.h ;
> exe calc : app.c calc
> I want calc.dll(with calc.lib) and calc.exe, but failed.
> If change exe calc to exe test then everything is ok.
> But if change to exe calc: app.c : <lib>calc ; , then will only
> build the library.


lib calc.lib : ... ;


exe calc.exe : ... ;

(Boost.Build only uses the extension to distinguish
between main targets, it won't affect the names
of the files created. You could use lib
and it would still work.)

In Christ,
Steven Watanabe

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