From: Juergen Hunold (hunold_at_[hidden])
Date: 2006-02-26 08:15:50
I've got some trouble with custom features.
I'm going to extend my Qt4-Toolset to build Qt4 with and without the
Qt3Support module. I created a feature named "qt3support" with values
"off on" and tried to control <define> and library creation by adding
appropriate requirements and conditional <defines> based on the values
I've succeeded in creating two minimal testcase for the problems I
encountered. I've replaced the original "qt3support" with "customized"
to avoid confusion :-))
Please find to testcases against latest anon-CVS attached...
When running "bjam --v2" in the project root, I get
bjam Version 2
validate-value-string from module feature
error: "app/on" is not a known value of feature <customized>
error: legal values: "off" "on"
(full backtrace in error.txt in project root).
This bug is triggered by the "build-project app ; " line. I think this
on is a bug because the path should never be added to the feature
Go to the "app" directory and run bjam --v2.
generate-really from module object(main-target)@143
error: failed to build ../a with properties <asynch-exceptions>off
<customized>on <debug-symbols>on <exception-handling>on
<extern-c-nothrow>off <inlining>off <link>shared <optimization>off
<os>LINUX <profiling>off <rtti>on <runtime-debugging>o
n <runtime-link>shared <stdlib>native <threading>single
<toolset-gcc:version>4.0 <toolset>gcc <variant>debug <warnings-as-
errors>off <warnings>all because no best-matching alternative could be
(full backtrace again in error.txt at project root)
I believe this is a bug. Both "app" and "lib" have "<customized>on" in
I've alos tried several combinations of putting "<customized>on" in
with no real progress. All I got was the misterious bug from the first
So I'm stuck at this point in spacetime.
-- * 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