digitalmars.D - Distributing implib?
- Jeremy DeHaan (10/10) Apr 27 2014 Hi all,
- Nick Sabalausky (3/5) Apr 27 2014 Standard procedure is to just email Walter your request. There's a JS
- Trent Forkert (11/21) Apr 27 2014 Nick already answered your question, but I have another
- JN (4/10) Apr 28 2014 Distributing sources is the Linux way. On Windows people prefer a
- Jeremy DeHaan (5/29) Apr 29 2014 That's not a bad idea, but it would suck for people that might
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
Apr 27 2014
On 4/27/2014 1:53 PM, Jeremy DeHaan wrote:According to the license [implib] comes with, I would need to obtain a redistribution license for this. Anyone else had any experience with that?Standard procedure is to just email Walter your request. There's a JS "Send email" button here: http://walterbright.com/
Apr 27 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! JeremyNick 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
Apr 27 2014
On Monday, 28 April 2014 at 03:09:32 UTC, Trent Forkert wrote: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.zipDistributing sources is the Linux way. On Windows people prefer a binary library (at least in C/C++ world) and a header file to import (in case of D the header would just be source probably).
Apr 28 2014
On Monday, 28 April 2014 at 03:09:32 UTC, Trent Forkert wrote:On Sunday, 27 April 2014 at 17:53:18 UTC, Jeremy DeHaan wrote:That's not a bad idea, but it would suck for people that might not know what the heck implib even is and make them have to search for it. I'd like them to be able to build the library with the right import libraries right out of the box.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! JeremyNick 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
Apr 29 2014