compile cppunit in vs2010

Are you referring to this project?
http://sourceforge.net/projects/cppunit

If so, use TortoiseSVN for example to get the latest code from svn:
https://cppunit.svn.sourceforge.net/svnroot/cppunit

It contains "INSTALL-VS.Net2008.txt" with instructions for Visual Studio 2008 but it can also be applied to Visual Studio 2010.

You may have to edit src\msvc6\testrunner\MsDevCallerListCtrl.cpp and replace
version("9.0")
with
version("10.0")

You can safely ignore any build errors as long as the sln outputs cppunit(d).lib or whichever dependencies you need.

Have fun! :)

posted @ 2012-05-25 11:18  justin_s  阅读(741)  评论(0编辑  收藏  举报