John Labenski ha scritto: > I've added quite a few more comments to the > wxCode/bakefiles/empty.bkl.template file to (hopefully) make it easier > to understand. Please let me know if what I've written doesn't make > sense or if there are other items that should be clarified. Thanks! I've checked it and found no errors except for the use of -- string as separator (which is not allowed within an XML file); I replaced them with ~~
> > Secondly, I would really like to make it so that the library built for > a component be given a name such as > $(WXBASENAME)_mycomponent_name-$(WXRELEASE) to make it easier to link > to, especially if you want to compile more than one version of them. > We could use the same semantics as wxWidgets does where for example > $(WXBASENAME) == 'wx-config --basename' == wx_gtk2ud for gtk, unicode, debug > and then you would use <wx-lib>mycomp_name</wx-lib> in the bakefiles to get > it. Good point. I had noticed that this would be very useful lot of times but never found time. > > I have two problems with this, > 1) where or how do you adjust the name of the created lib Ok, I've added to wxhacks the wxlike-libname and wxlike-dllname tags so that now you can write: <lib id="keybinder_lib" template="complib" cond="WX_SHARED=='0'"> <wxlike-libname>keybinder</wxlike-libname> </lib> if you want your lib to be named to the "wx" manner. > 2) would <wx-lib>mycomp_name</wx-lib> really work or would this line > in build/autoconf/wxpresets.m4 not work? > > WX_LIBS="$($WX_CONFIG_PATH $wx_config_args $WXCFG_FLAGS > $1,$WX_ADDITIONAL_LIBS --libs)" need to test it as autoconf format will require some work. In fact, I'm now trying to transfer some wxLua bakefile/m4 code to wxCode bakefiles/m4 but since with wxLua we're using a patched bakefile and wxCode not, the things are not easy and may require some time. If only my patches were applied to bakefile... (just daydreaming) Francesco ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users