Share Precompiled Header with multiple projects
来源:互联网 发布:php 变量前加@ 编辑:程序博客网 时间:2024/05/17 22:47
1. Build one project which includes precompiled header firstly as master project ;
2. Delete all stdafx.h file in other projects;
3. Set Additional Include Directories ( Project Properties > Configuartion Properties > C/C++ > General) to the folder of the master project so the compiler can find the master stdafx.h file;
4. Set Precompiled Header Output File ( C/C++ > Precompiled Headers ) to master project's file;
5. Make other projects depend on master project so it always get built first. To do it, you can right click project node ,and choose Project Dependencies.
- Share Precompiled Header with multiple projects
- Precompiled header
- Precompiled Header
- Sharing with Git,Learn how to use Git to share your Xcode projects
- 如何消除这个编译警告'Generate Browser Info' inconsistent with precompiled header
- fatal error C1853: 'Debug/***.pch' is not a precompiled header file created with this compiler
- fatal error C1853: 'Debug/***.pch' is not a precompiled header file created with this c
- fatal error C1853: 'Debug/***.pch' is not a precompiled header file created with this compiler
- Debug/XXX.pch' is not a precompiled header file created with this compiler
- \'Debug/XXX.pch\' is not a precompiled header file created with this compiler Error
- fatal error C1853: 'Debug/License.pch' is not a precompiled header file created with this compiler
- fatal error C1853: '*.pch' is not a precompiled header file created with this compiler
- 'Debug/TestAESCipher.pch' is not a precompiled header file created with this compiler
- C1853: '*.pch' is not a precompiled header file created with this compiler
- MFC出现XXX is not a precompiled header file created with this compiler
- error C2859 the precompiled header
- Cannot open precompiled header file
- Configure Apache for multiple projects
- 非常漂亮的jQuery桌面插件
- FreeBSD7.0+opengate+ipfw(网页网关认证)Captive Portal(1)
- FreeBSD7.0+opengate+ipfw(网页网关认证)Captive Portal(1)
- 浅谈Java多线程的同步问题【转载】
- 打印基础知识(1)
- Share Precompiled Header with multiple projects
- FreeBSD7.0+opengate+ipfw(网页网关认证)Captive Portal(2)
- 不能编译gdbm程序?(解决)
- 检验密码强度的JS类
- Silverlight中Setter作用及用法
- 打印基础知识(2)
- C++ 对 线性数组的 删除 和 插入操作
- cent os 下安装 svn
- 定位系统