How to create CppUnit with Visual Studio 2010

I am trying to create CppUnit (the first line in ReadMe says version 1.13) with Visual Studio 2010. Following the instructions (found on the web forums, I could not find much in the CppUnit documentation); I can not find a valid file extension. All file extensions end with ", v", what kind of strange extension is "v" and what is its purpose?

I'm upset at this point if someone can help with loading CppUnit in a VS2010 project and building it .... this will be a big help!

+7
source share
3 answers

Do you mean 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 can also be applied to Visual Studio 2010.

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

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

Good luck! :)

+10
source

I have successfully converted CPPUNIT 1.12.1 to VS2010 solution. It is described here: http://blogs.powersoft.ca/erict/archive/2012/02/21/cppunit-in-vs2010ndashwith-a-sample.aspx , and the solution can be downloaded from there.

+2
source

I just found a version that is very easy to build in VS2010 (aka button 1): http://www.comp.nus.edu.sg/~cs3215/tools/cppunitAll.html

This is very nice because it has a .sln file that you can open directly. It also includes a tutorial;) Found it with google.de This is version 1.12.1

Good luck

0
source

All Articles