| | 59 | This example is a simplified, but equivalent, version of the example in ticket #16: |
| | 60 | |
| | 61 | {{{ |
| | 62 | lib test : : <name>test <toolset>gcc <threading>multi ; |
| | 63 | lib test : : <name>test.lib <toolset>msvc <threading>multi ; |
| | 64 | }}} |
| | 65 | |
| | 66 | a simple "{{{bjam toolset=gcc}}}" currently yields: |
| | 67 | |
| | 68 | {{{ |
| | 69 | error: No best alternative for ./test |
| | 70 | next alternative: required properties: <threading>multi <toolset>gcc |
| | 71 | not matched |
| | 72 | next alternative: required properties: <threading>multi <toolset>msvc |
| | 73 | not matched |
| | 74 | }}} |
| | 75 | |
| | 76 | Here Boost.Build complains because the {{{<threading>single}}} is the default. If you read ticket #16, you can see that the intended result was that Boost.Build choose the first alternative. My proposed change would accomplish that with no change in the Jamfile. We would lose the capability of specifying these alternatives in such a way that the build request {{{bjam toolset=gcc}}} causes an error. |