diff options
author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-21 11:32:12 +0000 |
---|---|---|
committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-21 11:32:12 +0000 |
commit | 760c2b74740203dfef1f776703f28b39d1988f64 (patch) | |
tree | 9ac62c6d020c3afd07c3fbe3d9258c65cd84855e /doc | |
parent | dc8b1409bebf9a50c5199d613d5f742f7a11fec8 (diff) | |
download | cppunit-760c2b74740203dfef1f776703f28b39d1988f64.tar.gz |
Contrib/bc5/bcc-makefile.
contrib/bc5/bcc-makefile.zip: updated, generic makefile for
Borland 5.5, contributed by project cuppa.
* examples/cppunittest/*Suite.h: integrated Jeffrey Morgan's patch,
to remove warning with gcc.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/other_documentation.dox | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/other_documentation.dox b/doc/other_documentation.dox index 78cfe7b..9e6d576 100644 --- a/doc/other_documentation.dox +++ b/doc/other_documentation.dox @@ -103,11 +103,30 @@ * * See CppUnitTestPlugIn for further detail on how to do this. * + * Creating you test plug-in with VC++: + * - Creates a new "Win32 Dynamic Library" project, choose the empty template + * - For the Debug Configuration, add cppunitd_dll.lib to + * 'Project Settings/Link/Object/Libariries modules', and for the Release + * Configuration, add cppunit_dll.lib. + * - For All Configuration, in 'C++/Preprocessor/Preprocessors definitions', + * add the symbol 'CPPUNIT_DLL' at the end of the line (it means that + * you are linking against cppunit dll). + * - Creates a 'main' file that contains: +\verbatim +#include <cppunit/plugin/TestPlugIn.h> + +CPPUNIT_PLUGIN_IMPLEMENT();\endverbatim + * - Adds your tests + * - You're done ! + * + * See examples/simple/simple_plugin.dsp for an example. + * * Notes to VC++ users: * - you can run a post-build check on the plug-in. Add the following line to your - * post-build tab: "..\..\..\lib\DllPlugInTesterd_dll.exe $(TargetPath)". Of course, - * you need to update the path to the plug-in runner. $(TargetPath) is the filename - * of your plug-in. + * post-build tab: "DllPlugInTesterd_dll.exe $(TargetPath)". DllPlugInTesterd_dll.exe + * need to be some place were it can be found (path, ...), or you need to + * indicate the correct path. + * $(TargetPath) is the filename of your plug-in. * - you can debug your DLL, set the executable for debug session to the plug-in * runner, and the name of the DLL in the program arguments ($(xxx) won't work * this time). |