build options : directories (creation)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
Hi,
Could in the case that :
This is very usefull, because when you are working with
a version control system those directories a normally
not present in the version controlled items, the
sources are. So when someone retrieves the sources from
a version control system and wants to build, the
problem arises since on that user's clean system those
directories do not exist.
And with the clean command then, those directories
hould be removed also.
An example I use for normal makefiles (nmake) :
$(OUTDIR) = "my_path_secified"
$(OUT_FILE).a: $(OUTDIR) $(OBJS)
do stuff
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
Thanks,
Lieven
Logged In: YES
user_id=943591
this would help developers