after much study (and plenty of gin, during the dark moments...) i have made
the money example work (win version).
i am now mildly hopeful that i can soon begin to say junit-like things to the
c++ code my esteemed colleagues write. it would not have been possible
without you and this piece of work, so thanks very much.
honest, i mean it, thank you very much!
mats
ps: incidentally, i wrote log book as i went along. if this is boring just
junk it, otherwise enjoy: (vc++ .net 2003):
1) batch build received a few warnings and fails, all of these appear to be
harmless, how ever this is not obvious to the newbie so maybe a word of
warning will be in order - nexttime, of course:-)
details follow:
- cppunit / Release win32: 3 x LNK4221 from the XXXDynamicLibraryManagers
- TestRunner / Release UniCode Win32: WINVER not defined (default is OK) and
LNK4017 unsupported DESCRIPTION thingy
- TestRunner / Debug Win32: LNK4075 EDITANDCONTINUE ignored due to
INCREMENTAL=no
- LNK4075 also happens in cppunit_dll debug win32, DllPluginTester debug
unicode win32, DllPluginTester debug static win32
- DSPlugin Release Win32 has a C1083 out of StdAfx.h(21)
2) settings.locations for vc++ .net 2003 were not quite as given:
+ for includes, libs, src files go to tools-options, select the projects
folder, selecct vc++-directories and make changes there as indicated. i dont
know if it matters at all, but i found that these settings work when new
entries are moved to the rear of the existing list, which seemed "tidy" to
me.
+ the field for "object/library modules" is rather obsscsure in myy german
version, i eventually found it to be
project-properties -> link -> input -> further dependencies
3) my copy of the text suggested the post build step text should be
$(TargetPath)$, which does not work. It should be $(TargetPath)<no trailing
$$$>
|