I wanted to use VS2010 and an IDE and using MSVC 2005 as a compiler开发者_高级运维, how can I do that?
Visual Studio 2010 includes the capability of multi-targeting C++ projects (native or managed) using the Platform Toolset option. The built-in support is for v100 (VS2010) and v90 (VS2008).
See: C++ Native Multi-Targeting which shows how to extend the feature to support v80 (VS2005).
See these special MSDN instructions for managed projects.
You can use a makefile project to compile anything non-normative. We do this to compile with mingw and cygwin, but it will work the same way for any compiler
http://msdn.microsoft.com/en-us/library/txcwa2xx.aspx
精彩评论