Re: [Boost-users] how to disable autolink feature?
Hello Andre,
so what to do? is there a flag to disable autolink?
you can modify the file boost/config/user.hpp (http://www.boost.org/libs/config/config.htm) Quote.. /// BOOST_WHATEVER_NO_LIB Tells the config system not to automatically select which library to link against for library "whatever", replace WHATEVER in the macro name with the name of the library; for example BOOST_DATE_TIME_NO_LIB or BOOST_REGEX_NO_LIB. Normally if a compiler supports #pragma lib, then the correct library build variant will be automatically selected and linked against, simply by the act of including one of that library's headers. This macro turns that feature off. ///// Marco
Marco Azimonti wrote:
Hello Andre,
so what to do? is there a flag to disable autolink?
you can modify the file boost/config/user.hpp (http://www.boost.org/libs/config/config.htm)
Quote.. /// BOOST_WHATEVER_NO_LIB
Or define BOOST_ALL_NO_LIB globally in your VC project preprocessor settings: http://www.boost.org/more/getting_started.html#auto-link -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
On 12/7/05 11:04 AM, "Rene Rivera"
Marco Azimonti wrote:
Hello Andre,
so what to do? is there a flag to disable autolink?
you can modify the file boost/config/user.hpp (http://www.boost.org/libs/config/config.htm)
Quote.. /// BOOST_WHATEVER_NO_LIB
Or define BOOST_ALL_NO_LIB globally in your VC project preprocessor settings:
I don't think anyone should need to do compiler gymnastics to use Boost *.cpp files directly. It gets close to the line where Boost.Build is de-facto mandatory. -- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com
Rene Rivera wrote:
Marco Azimonti wrote:
Hello Andre,
so what to do? is there a flag to disable autolink?
you can modify the file boost/config/user.hpp (http://www.boost.org/libs/config/config.htm)
Quote.. /// BOOST_WHATEVER_NO_LIB
Or define BOOST_ALL_NO_LIB globally in your VC project preprocessor settings:
thanks alot! shame on me.. its in the docs
participants (4)
-
Andre Krause
-
Daryle Walker
-
Marco Azimonti
-
Rene Rivera