Boost logo

Boost Users :

Subject: Re: [Boost-users] [Test] muti-file-test modules and standalone library linking
From: Richard (legalize+jeeves_at_[hidden])
Date: 2011-04-24 00:51:34

[Please do not mail me a copy of your followup]

boost-users_at_[hidden] spake the secret code
<D0815084A2285940865D0DB2E81E6B50FAB2691007_at_[hidden]> thusly:

>Is there a way to write a multi-file-test module in a way that allows me
>to link it to dynamic and/or a static library version?


This is just the way the C/C++ linking process works. You either link
against the static library or the dynamic library. You can't link
against both with the same compile. I suggest you just build your
test code twice and change the link for the two builds.

"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      Legalize Adulthood! <>

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at