CPPUnit download address
http://prdownloads.sourceforge.net/cppunit/
among them:
Software package:
http://prdownloads.sourceforge.net/cppunit/cppunit-1.10.2.tar.gz?download
Help documentation:
Http://prdownloads.sourceforge.net/cppunit/cppunit-docs-1.10.2.tar.gz?download
CVS:
http://prdownloads.sourceforge.net/cppunit/cppunit-cvs-1.10.2.tar.gz?download
Instructions:
Suppose your CPPUnit version is 1.10.2, after extracting, you will find a cppunitlibraries.dsw in the SRC folder, open it, and compile. You will find some lib and dlls in the lib folder, and our program needs to be dependent on. Next, create a Console application, suppose we use only debug mode, in Project Settings, select the Precompile Option (Precompiled Header), add the CPPUnit's Include path to Additional Include Directories, and change the code generation Multi-Threaded Debug DLL then adds cppUnitd.lib to your project. Finally, replace the main.cpp in our file. At this time, you can compile it.