Distributing implib?

Trent Forkert via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 27 20:09:30 PDT 2014


On Sunday, 27 April 2014 at 17:53:18 UTC, Jeremy DeHaan wrote:
> Hi all,
>
> I am doing some updates to the C back end of my binding, and I 
> wanted to know what it would entail to be able to distribute 
> implib along with my CMake things. I was just thinking that it 
> would be nice to automatically produce .lib files when it 
> builds 32bit libs on Windows systems. According to the license 
> it comes with, I would need to obtain a redistribution license 
> for this. Anyone else had any experience with that?
>
> Thanks much!
>      Jeremy

Nick already answered your question, but I have another 
suggestion for you.

Set things up to look for implib (or perhaps coffimplib[1]), and 
complain if CMake can't find it. This tool should be part of the 
user's tools and environment, not part of your project.

This may be my Linux bias talking, but I would tend to not want 
to ship binaries as part of my source. The good thing about CMake 
is that it can help you deal with your dependencies in a sane way.

  - Trent

[1]ftp://ftp.digitalmars.com/coffimplib.zip


More information about the Digitalmars-d mailing list