From: John L. <jla...@gm...> - 2006-09-01 21:07:37
|
On 8/31/06, John Labenski <jla...@gm...> wrote: > > > 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. Ok, so how do I use these from a wxCode component that wants to link to a different component. I made another tag <define-tag name="wxlike-lib" rules="exe,lib,dll,module"> <if cond="TARGETING_WIN32=='1'"> <sys-lib>wx$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)</sys-lib> </if> <if cond="TARGETING_WIN32=='0'"> <sys-lib>wx_$(WX_PORT_WITHVERSION)$(WXLIBPOSTFIX)_$(value)-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)</sys-lib> </if> </define-tag> which I think is ok... You can see it and the results in wxthings and wxplotctrl. -John Labenski |