Cppunit User Manual

Source: Internet
Author: User

Download and compile cppunit:

 

1.download the latest version of cppunit-1.12.1.tar.gz (web site is http://sourceforge.net/apps/mediawiki/cppunit/index.php? Title = main_page # download );

 

2. extract, enter the cppunit-1.12.1/src directory, is the source code, open cppunitlibraries. DSW project, use vs2008 to convert to cppunitlibraries. SLN: Delete the dsplugin project under the solution, and modify msdevcallerlistctrl under the userinterface under the testrunner project. change the 67th line of the CPP file to "# import" Libid: 80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2 "version (" 8.0 ") lcid (" 0 ") raw_interfaces_only named_guids ";

 

3. Build solution. The generated file is automatically copied to the Lib of the parent directory. A total of seven files are available except the one in the original directory (both Debug and release are supported, and the default value is Debug)

 

Set to vs2008

 

Add the cppunit-1.12.1/include to the options tab in vs to add the cppunit-1.12.1/lib to the library file, and add the lib to the environment variable, so that you do not have to copy the DLL file.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.