链接到静态库,链接到静态库 [英] Linking to a static lib that links to a static lib

查看:124
本文介绍了链接到静态库,链接到静态库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个链接到静态库的(托管/非托管C ++)winforms应用程序。该库链接到另一个静态库。当我在Winforms项目上执行重建时,Visual Studio 2005尝试重建引用静态库,但重建的深度不超过一个级别。这导致我不得不手动重建叶子项目,然后重建到Winforms项目的链。有没有办法进行更深层次的重建?

解决方案

我应该将所有静态库作为依赖项添加到Winform应用程序吗? / p>

I have a (managed/unmanaged C++) winforms app that links to a static library. That library links to another static library. When I do a Rebuild on the Winforms project, Visual Studio 2005 attempts to rebuild the references static library, but does not rebuild deeper than one level. This causes me to have to manually rebuild the leaf project and then rebuild up the chain to the Winforms project. Is there a way to force a deeper rebuild?

解决方案

Should I just add all static libs as dependancies to the Winform app?

这篇关于链接到静态库,链接到静态库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆