|
Boost Users : |
Subject: Re: [Boost-users] auto_link.hpp
From: John Maddock (john_at_[hidden])
Date: 2008-10-31 06:20:04
Ryan McConnehey wrote:
>> This means one would rely on how boost mangles the name of the
>> library. For the most part, I don't mind how this is done, however,
>> I would like to specify my own version number for the library. Is
>> there a way to do this or do I need to copy the entire file into my
>> own directory and replace BOOST_LIB_VERSION with another define for
>> my library?
How about setting BOOST_AUTO_LINK_NOMANGLE and then mangling the name passed
to BOOST_LIB_NAME?
For example:
#define BOOST_LIB_NAME "mylibrary-" BOOST_STRINGIZE(MYVERSION_NUMBER)
#include <boost/config/auto_link.hpp>
HTH, John.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net