
David Abrahams wrote:
Rene Rivera <grafik.list@redshift-software.com> writes:
cc test1.cpp test2.cpp ... testN.cpp
is there a clean way to do this?
Yea... You just put all the sources into the bjam target. For example:
run test1.cpp test2.cpp test3.cpp : : : std::locale-support : my_test : debug ;
That still results in 3 separate compilation commands, right? Makes no real difference with G++, but with MSVC that's a lot slower than just one IIUC.
Yes, you are right. I misunderstood the question :-\ So I guess there's no current way way of doing the single compile invocation for multiple sources. I guess I should respond to item (2) now :-) -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org