From: Joseph B. <jb...@um...> - 2005-09-23 00:31:59
|
The bakefile is databaselayer.bkl at http://cvs.sourceforge.net/viewcvs.py/wxcode/wxCode/components/databaselayer/build/databaselayer.bkl Now that I think about it more, maybe the tests_firebird.cpp file should be added to CVS (which would eliminate the issue completely). The main reason it isn't in CVS is that everything I've read indicates that it's best to leave script generated files out of the source control system. Unfortunately, it this situation is requires the user to have cxxtest installed. Thanks for looking at this! I'll try to get wxspellchecker and shortcutpanel under bakefiles also after the next databaselayer release. On Thu, 22 Sep 2005, Francesco Montorsi wrote: > Hi, > > Joseph Blough wrote: >> I've almost got the databaselayer component working with Bakefile, but I'm >> having problems running the perl script that generates the unit tests. The >> line that needs to be run is: >> >> cxxtestgen.pl -o tests_firebird.cpp MyTest.h >> >> and I tried wrapping it in an action module like >> >> <action id="tests_firebird.cpp"> >> <command>cxxtestgen.pl -o tests_firebird.cpp MyTest.h</command> >> </action> > yes, this is how to do it; the only suspect thing is the id of the <action> > tag: in this way it would create a target in makefiles named > "tests_firebird.cpp"; I think this could give some problem to bakefile... see > below > > >> but when I try to call the target through >> >> <depends>tests_firebird.cpp</depends> > I'm not sure to understand what do you mean by "I try to call the target > through": where did you put that <depends> tag ? > I suggest you to use the <depends-on-file> tag instead. > > I cannot see any bakefile in the "databaselayer" folder of my wxCode > repository; if you commit them to the CVS I can give you more details... > > > >> the following is spit out by GNU make >> >> No rule to make target `tests_firebird.cpp' > how does your GNU makefile looks like ? > I think the problem is that <action> tag creates a target which is not > exactly named "tests_firebird.cpp" (probably looks like > "sub_tests_firebird.cpp"). > > Francesco Montorsi > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > wxCode-users mailing list > wxC...@li... > https://lists.sourceforge.net/lists/listinfo/wxcode-users > > > |