From: JÃ¼rgen Hunold (hunold_at_[hidden])
Date: 2006-05-05 06:57:45
Hi Noam !
On Friday 05 May 2006 12:34, Noam Tamim wrote:
> And have a "platform" feature that will select correct files, #defines,
> toolset, etc - based on its value.
> Note that selecting the toolset alone is not enough. There are a few
> different platforms that use the ARM Developer Suite, for example. They all
> use the same toolset (ADS 1.2), but have different SDK's, features, etc.
> I tried adding a feature to user-config.jam:
> import feature : feature ;
> feature platform : : free ;
I've got something like this in my Jamroot:
# find memory-leaks
import feature ;
feature.feature memory-check : off on : propagated ;
> and conditionally specify other requirements based on that in the Jamfile:
> lib PortingLayer : <platform>Win32:<include>Win32
and then use
# Shared-Ptr with Quick-Allocator
in my "requirements".
Note that this is a feature with fixed values, but "free" should work also.
> Note: this has nothing to do with my other question, about a new toolset
> (hcac). It's for a different project.
I hope this helps.
-- * Dipl.-Math. JÃ¼rgen Hunold ! Ingenieurgesellschaft fÃ¼r * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister StraÃe 15 * hunold_at_[hidden] ! www.ive-mbh.de
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