"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.