是否可以通过VIsual Studio 2015停止生成* .ipdb * .iobj文件? [英] Possible to stop generating *.ipdb *.iobj files by VIsual Studio 2015?
问题描述
在Visual Studio Community 2015中,Visual C ++项目在其Release文件夹中生成一个* .ipdb文件和一个* .iobj文件.
In Visual Studio Community 2015, a Visual C++ project generates a *.ipdb file and a *.iobj file in its Release folder.
现在在Visual Studio Community 2013中,我从未在项目Release文件夹中看到过这些文件,因此我想知道-
Now in Visual Studio Community 2013, I've never seen these files generated in project Release folder and so I'd like to know -
是否可以停止生成它们?
Is it possible to stop generating them?
推荐答案
These files are produced when Incremental Link-Time Code Generation (LTCG) is enabled. This is a new feature in Visual C++ 2015.
如果禁用增量LTCG,则链接器将停止生成这些文件.但是,那么您就失去了增量LTCG的好处.
If you disable Incremental LTCG, the linker will stop producing these files. But then you lose the benefits of Incremental LTCG.
要禁用增量LTCG,请修改项目属性:在链接器=>优化下,将链接时间代码生成"更改为使用快速链接时间代码生成(/LTCG:incremental)"以外的其他选项(这是Release的默认设置)构建).
To disable Incremental LTCG, modify your project properties: Under Linker => Optimization change "Link Time Code Generation" to something other than "Use Fast Link Time Code Generation (/LTCG:incremental)" (this is the default for Release builds).
这篇关于是否可以通过VIsual Studio 2015停止生成* .ipdb * .iobj文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!