Page 1 of 1

Building lean library on Windows

Posted: 2014-04-13T10:46:56-07:00
by kirash4
On a unix platform I can run configure and turn on or off the different delegates that I want or don't want. How would I do that on the Windows platform? The configure.exe that comes with the source doesn't offer options for that.

Re: Building lean library on Windows

Posted: 2014-04-13T11:57:57-07:00
by dlemstra
I am planning to make a new version of configure that supports this feature but for now you will have to solve this differently.

You can remove the delegates that you don't need from the project. If you for example don't need support for webp you could remove the project from the solution. And you will also have to remove the define '#define MAGICKCORE_WEBP_DELEGATE' from magick-baseconfig.h

Re: Building lean library on Windows

Posted: 2014-04-13T12:27:53-07:00
by kirash4
I'll try that. I'm just thinking, for applications that I'm developing, using IM, there's no need to use a large library with everything in it when all I care for is JPEG, PNG, GIF, TIFF< and zlib support. It should make for a much leaner one to link with.

Re: Building lean library on Windows

Posted: 2014-04-13T13:20:36-07:00
by kirash4
Actually, I just realized something. The last time I tried building IM with MVSE 2012, I didn't get the library files I was expecting, those I can use to link against. I got the *.exe files for the various utilities. How do I tell it to create the (static) libraries that I need?