From: Francesco M. <f18...@ya...> - 2006-12-11 00:20:06
|
klaas.holwerda ha scritto: > John Labenski wrote: >> >> What about just using the wxlike-lib for wxlua too? That way the >> wxCode bakefiles will be able to use the libs it generates very >> easily. This is why I'm so interested in naming all the libs using >> wxWidgets like the wxWidgets libs since it becomes easy to mix >> everything together. >> > So i think you want > > wxlua_msw28d_wxbind.lib Renamed to wxmsw28d_wxbind.lib. > > In the last i see now wxlua, this is why we once decide to use wxlua_ > as a sort of name space. > I am not sure why wxCode prefers it different. it's not a preference - just a "bug". Definitively the <wxlike-lib> tag should take in account a prefix as other wxlike-* tags do. I've updated the wxpresets patch which I've submitted to wxWidgets with a wxlike-lib tag which supports the prefix so that hopefully it won't be a problem anymore soon. >I understand for one lib > project there is no confusion. > But for project with several modules, i don't like it. Like in wxArt2d i > have 16 libraries coming from 16 modules. > If there is no name space at the start like wxart2d_mswd28d_curves.lib > wxart2d_mswd28d_kbool.lib etc. i think it will be harder to find out > what library comes from what after installation. I agree > Looking at the wxWidgets naming , i also see wxbase28.lib, next to > wxmsw28_core and wxmsw28_stc, i don't see the logic. there's a logic, really ;) > I only see "wx" as common namespace, why did they not use wxmsw in front > of all?? because some of wx libraries are not port-dependent. E.g. the wxBase library does not uses different sources when compiled as wxMSW and others when compiled as wxGTK. > Anyway it seems that all contrib stuff is in the from wxmsw28_nameofcontrib. > So looking at it like that maybe we should have: > > wxmsw28d_wxlua_lua.lib > wxmsw28d_wxlua_bind.lib > wxmsw28d_wxlua_debug.lib > wxmsw28d_wxlua_socket.lib > etc. hmmm, I don't see any great advantage over current naming, except that this is backward-incompatible for all ours wxLua users which should probably need to update their makefiles/project files without any real need (wxlike-lib tag must be fixed, not our naming rules). Francesco |