在其他项目中使用静态库的 .pch 文件 [英] Using a .pch file of static library in other project

查看:36
本文介绍了在其他项目中使用静态库的 .pch 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在另一个使用静态库的项目中使用静态库的 .pch 文件.

How can I use a .pch file of a static library in another project,which is using the library.

推荐答案

在项目构建设置中,搜索pch".

In the project build settings, search for "pch".

将有一个项目前缀标题",您应该在其中输入您的 PCH 文件的名称.

There will be an item "Prefix Header" where you should enter the name of your PCH file.

这篇关于在其他项目中使用静态库的 .pch 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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