From: John L. <jla...@gm...> - 2005-11-20 21:20:59
|
> NOTE: where do we want to install wxLua libraries and headers on unix ? > $PREFIX/lib and $PREFIX/include seem a nice place for me, but we can cons= ider also > $PREFIX/lib/wxlua and $PREFIX/include/wxlua, specially if our lua headers= /libs could give > problems to other builds of lua installed in the same prefix... I guess we need to put them in $PREFIX/wxlua so the user just does -I $PREFIX/wxlua in their Makefiles if they install it and or just -I path/to/wxlua/modules if they didn't and it'll work both ways. eg. modules/lua/include/*.h modules/wxbind/include/*.h modules/wxlua/include/*.h modules/wxluadebug/include/*.h modules/wxluasocket/include/*.h go to $PREFIX/wxlua/include/*.h $PREFIX/wxlua/wxbind/*.h $PREFIX/wxlua/wxlua/*.h $PREFIX/wxlua/wxluadebug/*.h $PREFIX/wxlua/wxluasocket/*.h I don't know about the libs, maybe we can give them the same naming semantics as wxWidgets with our own version number so they won't conflct with anyone and then just dump them into the $PREFIX/libs. For example in modules/wxlua/src/Makefile WXLIBBASE =3D $(shell wx-config --basename) WXRELEASE =3D $(shell wx-config --release) lib$(WXLIBBASE)_wxlua-$(WXRELEASE) =3D libwx_gtk2ud_wxlua-2.7.so.1.5.0 LIBVERSION_CURRENT=3D1 LIBVERSION_REVISION=3D5 LIBVERSION_AGE=3D0 Where the 1.5.0 are just currently arbitrarily defined in modules/wxlua/src/Makefile. How can we define these to be available for both the Makefiles and also the C++ code so we don't have to have them defined over and over again? > PS: I added wxLua link to wikipedia page for wxWidgets; I wonder if > 1) we should move the page which is currently at http://www.luascript.the= rsgb.net/ to > http://wxlua.sourceforge.net > or > 2) make a redirection from http://wxlua.sourceforge.net to http://www.lua= script.thersgb.net/ Can we have it point to both? We need to make a release once we get it to compile everywhere. Maybe in the next month. -John |