|
From: Klaas H. <db...@nl...> - 2006-12-11 09:06:57
|
John Labenski wrote:
>
>>>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).
Agreed and for me the current wxlua way is just fine. I just got confused by wxCode and its naming of libs.
But as you say it should be changed.
All in all i think i still like this a little more:
wxlua_msw28d_debug.lib
compared to:
wxmsw28d_wxlua_debug.lib
The namespace in the beginning is easier when it comes to sorting (ls or dir will show them grouped ).
> I DO like this idea and think it's just as well. I'd keep the wx in
> the second name though to be clear about what the lib is really for
> since wxluadebug/socket are not generic debug/socket libs, but only
> work with wxlua.
>
> wxlua_msw26d_wxlua_lua.lib
> wxlua_msw26d_wxlua_wxbind.lib
> wxlua_msw26d_wxlua_wxbindstc.lib
> wxlua_msw26d_wxlua_wxlua.lib
> wxlua_msw26d_wxlua_wxluadebug.lib
> wxlua_msw26d_wxlua_wxluasocket.lib
But this seconds wxlua has the same goal as the first is it not?
So why add it twice?
I looks like the current situation in wxLua is not a problem ;-)
>
> In any case, do whatever you think is best Francesco.
Yep.
>> ps. The precompiled headers are GREAT! I can't really tell much of a
> difference in MSVC6, but I was thinking about how we could do it and
> wanted to ask if you knew how, but thought it might be too much work.
Well in wxArt2D we have it working. The idea is this:
// our own pre compiled header file.
#include "general/include/a2dprec.h"
#ifdef __GNUG__
#pragma implementation "artglob.h"
#endif
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
----------------------
/*! \file general/include/a2dprec.h
Licence: wxWidgets License
RCS-ID: $Id: a2dprec.h,v 1.2 2005/08/10 21:10:48 titato Exp $
*/
#include "wx/wxprec.h"
#ifdef WX_PRECOMP
#include <wx/mstream.h>
#include <wx/tokenzr.h>
#include "wxart2d.h"
#endif // WX_PRECOMP
And at last have the precompiled header flags for the compiler.
And the central dummy.cpp file used in each module.
Not that complicated.
Klaas
--
Unclassified
|