Re: [Cppunit-devel] Patch for VC++ testrunner...
Brought to you by:
blep
From: Bastiaan B. <bas...@li...> - 2001-04-22 21:31:28
|
Baptiste Lepilleur wrote: > > > > I see. > > One question: is the test runner MSVC++ specific per definition? If not, > I'd prefer to put the > > files in a win32 sub directory, rather than 'msvc6'. People may want to > compile under a different > > compiler than MSVC++. > It use MFC. I think it is possible to use MFC with other compiler but > I'm not sure (the sure of the MFC use lot of compiler specific stuff). > Borland comes with its one set of "gui" class, if I remember well. I'll try > to check the borland version on xprogramming to see if anything was kept > from the original GUI. Plus there is the fact that C++ dll produced by VC++ > can only be linked with C++: Borland and VC++ do not decorate the name the > same way :-(. > The different name mangling is intentional: with the same mangling scheme the apps would link, but crash due to incompatible implementions of exceptions, RTTI, etc. The borland port seems not to use MFC, indeed. But it looks like the msvc++ and borland versions share large parts of the code. Better to have that part in the tree only once, and abstract the GUI interface. So I still prefer a win32 subdir over an msvc one: when someone wants to support borland, s/he can start from there and split out the concrete GUI calls. > > > > I also added the makefile.am in each new directory (hope I did not > > > forget one), and added them to the SUBDIR variable. The dsp and dsw have > > > been added to the EXTRA_DIST. Should the .cpp and .h be added to ? If > so, > > > could this be done using shell command (something akin to EXTRA_DIST = > `ls > > > *.h *.cpp *.ico *.rc *.bmp`) ? > > > > > > > I'm not sure if a shell command would work. I'll try to find out. > > Thanks. > OK, it does not work. But I've found another way, which is more convenient: With the 'dist-hook' target one can specify commands to run after the dist dir has been created, but before it has been tarred. Here we can simply copy the msvc directories. No need for a separate Makefile.am in alls directories. Bastiaan > > Baptiste. > --- > Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html > Author of The Text Reformatter, a tool for fanfiction readers and writers. > Language: English, French (Well, I'm French). > > _______________________________________________ > Cppunit-devel mailing list > Cpp...@li... > http://lists.sourceforge.net/lists/listinfo/cppunit-devel |