John Labenski ha scritto:
> On 8/31/06, John Labenski <[EMAIL PROTECTED]> 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.
Thanks!

I didn't make such a tag up to now because wxCode components usually 
used the simple 'compname$(WXLIBPOSTFIX)' libname syntax and that didn't 
require a specific tag.

Now that we added wxlike-[lib|dll]name such tag is definitely required, too.

Thanks,
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

Reply via email to