From: Tito D. C. <ti...@da...> - 2008-02-22 21:45:35
|
On Wed, 2008-02-20 at 14:25 -0500, Gregory Smith wrote: > OK. Let me have a look at BMP writing in Windows. Also, can we update the > Makefile to build a .exe? There are two ways to do it: > > 1) add a new target to the main Makefile, so that typing cross-make.sh > ShapeFusion.exe will result in that being built > > 2) add a new Makefile.win32, and then the command is cross-make.sh -f > Makefile.win32 > > Do you have a preference? The first requires less maintenance, but the > second might be cleaner. I'd go for the second. > Are you still going with the idea of installing a defaults file somewhere > global to all users, and allowing user overrides from their own homes? I > can take a look at this if it helps. > > In Mac OS X that would be, I guess: > /Library/Application Support/ShapeFusion/ and ~/Library/Application > Support/ShapeFusion > > and, in Windows: > C:\Windows\Application Data\ShapeFusion and C:\Documents and > Settings\<username>\Local Settings\Application Data\ShapeFusion > > But without an installer I don't know how the files will get there. It's > also going to be a little tedious if a user wants to switch between > editing shapes for two different scenarios. I guess shapefusion could also look for the file in the same directory of the executable. I'd tell users that they better put it in the right place, though. Switching it for different scenarios is a future feature, of course :) Bye Tito -- Physics is reverse engineering |