Dean Michael Berris wrote:
> On 11/22/06, Vladimir Prus <ghost cs.msu.su> wrote:
>> On Wednesday 22 November 2006 01:43, Dean Michael
Berris wrote:
>> > Hi Guys,
>> >
>> > Autolinking for the unit-test target works in
Windows in MSVC, but it
>> > doesn't work in GCC 4.1 -- is this expected
behavior?
>>
>> If by "autolinking" you mean the
mechanism of linking to external
>> libraries by means of including their headers, then
yes, this feature is
>> not present on gcc.
>>
>
> Okay, thanks for clearing that up.
>
>> > If so, how do I make my rules like:
>> >
>> > unit-test my_test : my_test.cpp ;
>> >
>> > Build and execute correctly?
>>
>> I don't know, since you haven't said what you want
to link to. If that's
>> boost.test, then:
>>
>> using /boost :
<path-to-boost-source-tree> ;
Doh, this should be:
use-project /boost :
<path-to-boost-source-tree> ;
Sorry,
Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|