www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Creating .lib files

reply Simen <simen.haugen pandavre.com> writes:
Is there an easy way to create .lib files?
I couldn't find any switches for optlink, but I did find the lib tool. It just
seems it's way to much work to run the lib tool after each recompile, and
remembering to add new files etc. etc.

I guess there is a better way, but I haven't found any.
Mar 22 2007
parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
Simen wrote:

 Is there an easy way to create .lib files?
 I couldn't find any switches for optlink, but I did find the lib tool. It
 just seems it's way to much work to run the lib tool after each recompile,
 and remembering to add new files etc. etc.
 
 I guess there is a better way, but I haven't found any.
I'd suggest a tool like rebuild - see http://www.dsource.org/projects/dsss -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Mar 22 2007
parent Simen <simen.haugen pandavre.com> writes:
Lars Ivar Igesund Wrote:

 Simen wrote:
 
 Is there an easy way to create .lib files?
 I couldn't find any switches for optlink, but I did find the lib tool. It
 just seems it's way to much work to run the lib tool after each recompile,
 and remembering to add new files etc. etc.
 
 I guess there is a better way, but I haven't found any.
I'd suggest a tool like rebuild - see http://www.dsource.org/projects/dsss
I've looked as dsss, and used it for another project, but I couldn't get it to work with this project. I updated dsss now, and it works great. Guess I should have tried the newest version first. Thanks.
Mar 22 2007