AggrorJorn Posted January 19, 2014 Share Posted January 19, 2014 I am working on a framework. This framework can be used when a new leadwerks project is generated. I learned from Rick that I can create static libraries to harness the framework in to a .lib file. The problem I currently have is that my own framework relies on an external library as well(SFML) as well as the leadwerks.lib. It seems as if it is not possible to link static libraries in to a static that is yet to be made. Any advice on how to properly work with static libs while making a static library would be great. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted January 19, 2014 Author Share Posted January 19, 2014 Edit** I have made some progress myself. I don't have to fill in the linkers and I can just link all the libraries that Leadwerks uses myself. Luckely this could be done by copying part of .vxproj instead of adding all those folder by hand. Lots of errors remaing about stdafx and what not. Quote Link to comment Share on other sites More sharing options...
Tim Shea Posted January 19, 2014 Share Posted January 19, 2014 You don't have to link the dependency into your library, you just have to set the headers correctly. The end user of your library then links your .lib and any of its dependencies. We are currently using this techniques successfully for the Wings project on both 3.0 and 3.1. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.