How to build TagLib statically

Lukáš Lalinský lalinsky at gmail.com
Thu Sep 24 10:27:34 CEST 2009


On Wed, Sep 23, 2009 at 11:55 AM, Atti <atti86 at gmail.com> wrote:
> Hello!
> As the title says, I would like to build TagLib for static linking, on
> Windows platform (msvc08). I've found one e-mail on this subject, but it's
> in the archive. Are there some binaries for this, or can anyone give me some
> instructions on how to do it?

cmake -DENABLE_STATIC=ON .

And when you have a static version of TagLib, make sure you define
TAGLIB_STATIC in your application before including any TagLib header
file.

-- 
Lukas Lalinsky
lalinsky at gmail.com


More information about the taglib-devel mailing list