Q: When running an incremental build with MSVC after building with IncrediBuild, I get the following build warning: "warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header". What is wrong?
A: There is a conflict between IncrediBuild's browse information creation options and the way MSVC handles browse information for that project. To overcome this, do one of the following: If you wish to use browse information:
1. Set the configuration's project settings to generate browse information (this is done by checking the browse info checkboxes on both the C/C++ page and the Browse info page in MSVC's project settings dialog).
2. Set IncrediBuild's browse information creation settings (in the Agent Settings dialog) to create browse information for this configuration (this can be done by selecting "Always" or "According to 'Generate browse info' project setting", or by using a matching search phrase).
3. Rebuild the project.
If you do not wish to use browse information:
1. Set the configuration's project settings NOT to generate browse information.
2. Set IncrediBuild's browse information creation settings (in the Agent Settings dialog) NOT to create browse information for this configuration (this can be done by selecting "Never" or "According to 'Generate browse info' project setting", or by using a matching search phrase).
3. Rebuild the project.
本文介绍了解决使用MSVC进行增量构建时遇到的与IncrediBuild浏览信息选项冲突的问题。通过调整MSVC项目设置和IncrediBuild配置,确保两者关于浏览信息的创建选项一致。
1203

被折叠的 条评论
为什么被折叠?



