Using Debug-Only suffix for referenced C++ DLLs in Visual Studio 2010

In previous versions of Visual Studio (from VC6 up to VS2008), we have had the convention of putting a "D" at the end of the names of debug-build DLLs, as is done for MFC and the CRT libraries. So, for example, if the release-build DLLs are "foo.dll", "bar.dll", and "baz.dll", the debug-build names are "fooD.dll", "barD.dll", and "bazD.dll". This prevents us from accidentally mixing release and debug DLLs.

However, we are having trouble doing this with the new C++ build system in VS2010. It worked with the dependency-based system in older releases, but now project references are apparently based upon the target DLL name, so it seems that they have to be the same for both Debug and Release builds.

The obvious solution is to just abandon the debug-build suffix, but we'd prefer to keep it if possible. Is anyone else doing this, and have they figured out how to make it work with VS2010?

BTW, I ran across Using Visual Studio project properties effectivly for multiple projects and configurations. I'll have to review it with other team members to determine whether it might solve our problem.

Category:visual studio 2010 Views:1 Time:2011-05-09

Related post

Copyright (C), All Rights Reserved.

processed in 0.111 (s). 11 q(s)