|
Boost-Build : |
From: Kirill Lapshin (gclbb-jamboost_at_[hidden])
Date: 2003-06-22 19:39:51
Vladimir Prus wrote:
> I think no. Here's what I have in my project:
>
> stage wi-top
> : $(2)
> : <variant>debug:<location>$(CL_DIR)/$(1)-debug
> <variant>release:<location>$(CL_DIR)/$(1)-optimized
> ;
Oh, great, this will sure solve the problem.
> I think the same can be done with symlink.
>
> symlink hello_symlink : hello :
> <variant>debug:<location>hello_debug
> <variant>release:<location>hello_release
> ;
>
> Now, <location> has no effect on "symlink", but probably it shoud?
Yepp, it is good workaround, but not a real solution, since you will get
three links, when two will be sufficient, also you will have to call
symlink rule twice, which will make Jamfile unnecessary complex.
-Kirill
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