How to build TagLib statically

View: New views
2 Messages — Rating Filter:   Alert me  

How to build TagLib statically

by badboy860000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Thanks,
Atti.

_______________________________________________
taglib-devel mailing list
taglib-devel@...
https://mail.kde.org/mailman/listinfo/taglib-devel

Re: How to build TagLib statically

by Bugzilla from lalinsky@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Sep 23, 2009 at 11:55 AM, Atti <atti86@...> 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@...
_______________________________________________
taglib-devel mailing list
taglib-devel@...
https://mail.kde.org/mailman/listinfo/taglib-devel