Include external dependencies in a .lib project

徘徊边缘 提交于 2021-01-28 11:59:54

问题


For example I have a solution containing three projects a Core, Editor and Engine. both the Engine and Editor projects are dependent of the Core. Currently I'm bulding the core as an .lib then the Editor and the Engine include the .lib. Which is working perfectly.

But the core depends on third party libraries I can't seem to include any external dependencies due to that the linker tab disappear when changing Configuration Type to Static Library(dll) on the Core project. How should I address this problem?

Thanks in advance :)


回答1:


You should include all dependencies and build it all together. If they are either dynamic or static libraries.



来源:https://stackoverflow.com/questions/24045113/include-external-dependencies-in-a-lib-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!