Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-08-03 19:26:37

Page 28 of boost_1_33_0/tools/build/v2/doc/userman.pdf contains:

A type can be defined as "main"

but it does not tell how to "define a type as main".

Actually, I read this attempting to figure out how to specify
a target with a given suffix in a Jamfile.v2 with the same
target name. For example:

exe test : test.cpp ;
obj test : test.cpp ;

How do I indicate on the bjam command line that I want the 2nd
target instead of the first, i.e. I just want to compile test.cpp?
Or is this not possible? If not, wouldn't it be useful to have
this capability?


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