
This was posted to boost-build 2 weeks agao but I got no reply so I thought I would try the development list. I created a variant based on debug variant: Variant MyDebug : debug : $(MyDebugSettings) ; Unfortunately the names of the libraries generated by boost.build do not have the 'd' key. For example: libboost_python-vc80-mt-g-1_35.lib Autolink expects: libboost_python-vc80-mt-gd-1_35.lib I checked the boost.build code and it seems that the 'd' key is only added when 'debug' variant is specified. This is not consistent to the behavior documented in "Getting Started" and other boost building instructions. Is this a bug or I missing something obvious. Regards, Sean

Sean Huang wrote:
This was posted to boost-build 2 weeks agao but I got no reply so I thought I would try the development list.
I created a variant based on debug variant:
Variant MyDebug : debug : $(MyDebugSettings) ;
Unfortunately the names of the libraries generated by boost.build do not have the 'd' key. For example: libboost_python-vc80-mt-g-1_35.lib Autolink expects: libboost_python-vc80-mt-gd-1_35.lib
It was discussed on boost-build list previously -- that's the way it works now -- adding custom variants derived from 'debug' makes 'd' disappear.
I checked the boost.build code and it seems that the 'd' key is only added when 'debug' variant is specified. This is not consistent to the behavior documented in "Getting Started" and other boost building instructions.
Where does "Getting Started" talk about custom variants? - Volodya

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost- bounces@lists.boost.org] On Behalf Of Vladimir Prus
It was discussed on boost-build list previously -- that's the way it works now -- adding custom variants derived from 'debug' makes 'd' disappear. Sorry. I was not aware of the discussion.
Where does "Getting Started" talk about custom variants?
Section 6.3 and footnote 7 talk about when "d" is added. "debug" variant was never mentioned there. The bottom line is the naming convention should be consistent with autolinking. Thanks, Sean
participants (2)
-
Sean Huang
-
Vladimir Prus