[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: Concerning wxrc (was [XaraXtreme-dev] Re: Success)



Alex: wxrc is built (and installed) by the wxWidgets makefile but is not built by the wxWidgets xcode project. So at the moment, there is no pure xcode-only build-route for Camelot if we want touse xcode.

Ben: You're right to worry about leaving out the internationalisation system, but at the moment it would be just too much effort to get it going and would sidetrack use from the main goal of simply getting the application to build reliably.

Phil

On 13 Jun 2006, at 13:15, Alex Bligh wrote:

Ben,

However, the present objective is to get something simple, working;
and if turning off internationalisation helps, then I will do this;
but I would recommend that once we have more experience we throw away
this work and replace it with something done correctly from the ground
up. Not doing internationalisation does not conflict with the
functional specification of getting something up and running which
will work on the developer's machine so I not claiming that this is
cut and dried.

All you should need to do is pass an extra flag or two to
buildresources.pl

How (after all) do you pass in for instance the location
of buildresources.pl itself?
With a 'Run Script Build Phase' which is a six line shell script, the
last line of which is:
Scripts/build-resources.pl --topdir=$SOURCE_ROOT --version="9999"
--xgettext="skip"
--wxrc="/Users/phil/Code/wxMac-2.6.3/osx-build/utils/wxrc/wxrc"
--checksum="/sw/bin/md5sum"

You don't need --checksum (md5sum is not used)
You don't need --xgettext="skip" (unless -i is passed it isn't used)
You don't need --version="9999" (unless -n is passed for versioning)
You don't (right now) need --wxrc until you have -i for international

Can we not assume wxrc etc are on the path, or do (e.g.)
  --wxrc=$WXRC
then set that up the same way you set up $SOURCE_ROOT

Alex