Hi,

> Hello Viktor
> 
> I could see that if -inc mode is not enabled
> and -workdir= is not provided, intermediatery files are 
> always created in the folder where .hbp resides.
> Though these are deleted at the end, but preferable
> way should be to create them in under .hbmk/temp 
> folder. Can it be done?

I don't see a strong reason to enable this 
by default, and I try to make the less impact 
to the environment in default case. An option 
would be to create a temp dir, work in it, and 
delete it at the end, but besides exercising 
the file system and requiring more than absolutely 
required file access rights, it could also have 
an adverse effect on parallel hbmk2 runs.

I understand current default behavior can only 
have bad side effect if a user have .prg and .c 
sources with the same name. But this case have 
other very bad side effects too (object name 
collision), so a temp dir would only solve it, 
if those common names would belong to different 
projects inside the same dir. Seems rather rare 
to protect against it by default.

Users who need specific work dir, should simply 
use -workdir option, f.e. -workdir=.hbmk2/temp 
to get the effect you need.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to