On 6/7/2010 09:47, Graeme Geldenhuys wrote:
On 07/06/2010, Graeme Geldenhuys wrote:
environment. Then if you want to compile and run a demo, you first
have to copy the demo source directory to a location you have
read/write access, then compile and run it from that new location.

Alternatively (though I don't really recommend this) is to default the
demos output path to something like:

   $(UserTempDir)/$(ProjName)/units/$(TargetCPU)-$(TargetOS)/


I prefer the copy method...

+1 on the copy method... because if the user has to copy it, they will then know where the output binary ends up without having to go hunt it down... maybe later they might define an output directory like you show but leave that to them for later...

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to