4 messages in com.perforce.jamming[jamming] Setting Environment Variables
FromSent OnAttachments
lind...@liebert.com linda_farrenkopf@liebert.com09 Aug 1999 11:35 
Stev...@portal.com09 Aug 1999 12:48 
Laur...@perforce.com09 Aug 1999 13:41 
Binder10 Aug 1999 16:05 
Subject:[jamming] Setting Environment Variables
From:Binder (@)
Date:08/10/1999 04:05:02 PM
List:com.perforce.jamming

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$(<) $(>) } }