Is there a reason that '&' is necessary in the NT actions?
It appears to me that Jam adds an extra space that CMD.exe does not
ignore.
-----Original Message-----
From: Laura Wingerd [mailto:lau...@perforce.com]
Sent: Monday, August 09, 1999 3:42 PM
To: lind...@liebert.com
Cc: jamm...@perforce.com
Subject: Re: [jamming] Setting Environment Variables
Is this something you could set right in the compile action? E.g.,
say you use the C++ rule to compile. You could modify your Jambase's
C++ actions to look something like:
if $(UNIX)
{
actions C++
{
C51INC="$(C51INC)"
export C51INC
$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) $(>)
}
}
if $(NT)
{
actions C++
{
set C51INC=$(C51INC)&
$(C++) -c $(C++FLAGS) $(OPTIM) -I$(HDRS) -o$(<) $(>)
}
}