CPPUnitProjectWizard.7z is a 7-zip file containing a Visual Studio 2005 wizard for use with CPPUnit. Please read the readme.txt file for the wizard and readme.txt template of the project it generates. I have found these very useful so I thought I would share them. Please send comments about this to cppunit-devel@lists.sourceforge.net Paul

Thanks to Alexandre and Ian for sending comments.

I am not in a position to test proposed changes so I will simply list them here:

1. Note that the new project type is listed only in the main group of Visual C++ templates, not in the sub-types.

2. It has been seen that the project it created immediately failed to compile:

“Cannot open include file: 'cppunit/plugin/TestPlugIn.h': No such file or directory”

because the include path was not set as part of the project properties.

The following changes are useful:

\Microsoft Visual Studio 8\VC\VCWizards\CPPUnitProjectWizard\CPPUnitProjectWizard\Scripts\1033

File: default.js

Replace "DllPlugInTesterd_dll.exe" with "DllPlugInTesterd.exe"

"DllPlugInTester_dll.exe" with "DllPlugInTester.exe"

This is needed because, _dll.exe files are not always generated by build of cppunit.

For config.Tools('VCCLCompilerTool'), add the line:

ššššššššššš AdditionalIncludeDirectories="$(CPPUNITDIR)\\Include";

For config.Tools('VCLinkerTool')

ššššššššššš AdditionalLibraryDirectories="$(CPPUNITDIR)\\Lib";

the Wizard does not set the additional library path

CppUnitVisualStudio2005Wizard (last edited 2008-02-26 06:29:58 by localhost)

SourceForge.net Logo