Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-11-19 10:32:35


Rene Rivera wrote:
> In trying to learn things, and work towards the rest of the soname/version
> implementation, I decide to implement a "symlink" target (code attached).
>
> Everything works great so far, execpt for one thing... Indicating a specific
> variant doesn't work as I'd expect it. For example this:
>
> symlink hello-link : hello/<variant>release ;
>
> Selects "gcc/release/debug-symbols-on/optimization-off/hello", not what I
> might expect "gcc/release/hello".
>
> Am I doing this incorrectly? Or is that part not implemented yet?

This turned out to be simple to fix. In the example above, I was simply
adding <variant>release to the build request for "hello". But "variant"
is a composite property, so I should add <optimization>on and
<debug-symbols>off, also. IOW, I had to expand composites. Done now and
commited. Will create a test case tomorrow.

- Volodya

 


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