Subject: Re: [Boost-build] Extension for file target
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-09-29 11:06:38
On 29-Sep-15 5:36 PM, Roman Matsybora wrote:
>> The "exact" passed as parameter disables automatic extension logic.
> local t1 = [ new file-target a1.cc exact : CPP : $(project) : $(action) : . ] ;
> It works!
Good to know. You can also derive your own type, say:
type.register MYCPP : mycpp : CPP ;
and use it to create a target. It will have mycpp extension, but will be usable in
other contexts where CPP type is usable - e.g. to create EXE targets.
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