[C++-sig] MSVC project file

David Abrahams dave at boost-consulting.com
Mon Nov 11 14:33:26 CET 2002


"Brett Calcott" <brett.calcott at paradise.net.nz> writes:

> Hi all,
>
> For those interested here is a MS project file that builds boost_python.
>
> Create a directory under boost/libs/python/build
>
> I called mine ./msvc-project.
>
> Drop the file into the directory and then load it in DevStudio and build. It
> will create a ./bin underneath it with boost_python.dll and
> boost_python_d.dll.
>
>
> David, (if you are listening) given the work in Boost.Build I'm not sure if
> you are interested in this at all - though I would hazard a guess that there
> will be more requests. In any case - adding some extra warning switches to
> the detail/config.hpp makes the build a little easier to watch both for bjam
> and DevStudio.
>
> --- config_old.hpp Sat Nov 09 19:47:06 2002
> +++ config.hpp Sat Nov 09 16:19:26 2002
> @@ -32,7 +32,11 @@
>  #   define BOOST_MSVC6_OR_EARLIER 1
>  #  endif
>
> -#  pragma warning (disable : 4786)
> +# pragma warning (disable : 4786) // disable truncated debug symbols
> +# pragma warning (disable : 4251) // disable exported dll function
> +# pragma warning (disable : 4800) //'int' : forcing value to bool 'true' or
> 'false'
> +# pragma warning (disable : 4275) // non dll-interface class
> +
>
>  # elif defined(__ICL) && __ICL < 600 // Intel C++ 5

Hi Brett,

A couple of questions:

1. Does your project work with MSVC6, or just with 7?

2. Are you interested in officially maintaining this work? I'll only
   add it to the Boost distribution if there's someone to stand behind
   it.

If you wish to proceed, I'd also like a documentation patch which
describes how to use it.

This could be very exciting!

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution





More information about the Cplusplus-sig mailing list