2 messages in com.perforce.jamming[jamming] MSVC Libraries
FromSent OnAttachments
Andreas Haberstroh" <andreas@ibusy.com (Andreas Haberstroh)23 Dec 2001 16:07 
Matt Armstrong24 Dec 2001 20:15 
Subject:[jamming] MSVC Libraries
From:Matt Armstrong (matt@lickey.com)
Date:12/24/2001 08:15:44 PM
List:com.perforce.jamming

"Andreas Haberstroh" <andr@ibusy.com> writes:

Hello. I stumbled upon JAM by accident, and thought, this is just what I needed. But, after a few days of working with it, i've discovered a little annoyance with the Microsoft's LIB.EXE program.

It does not have a response file format.

Now, the trick is, how do you feed individual files to it, via JAM? Has anyone attempted this?

I'm currently trying to create little libraries and LIB them together, as a temporary work around, but that is proving difficult as well, since, I haven't mastered the JAM syntax yet.

What exactly is the problem you are having? I.e. why do you want to feed it files one at a time?

Anyway, you can try sticking this in your Jamrules file:

if $(NT) && $(MSVCNT) { actions updated Archive { if exist $(<) set _$(<:B)_=$(<) $(AR) /out:$(<) %_$(<:B)_% $(>) } }

This removes the "together piecemeal" portion of the Archive actions like from the default Jambase.