Ipch files in a Visual Studio project

I find the ipch folder in my project whose files have the ipch extension. In addition, they are quite voluminous.

Can i get rid of them?

+44
c ++ visual-studio-2010
Oct. 16 '13 at 8:14
source share
2 answers

This is the precompiled header file used by the IntelliSense parser. It differs from the precompiled header file that the compiler creates when you create your project, the .pch file in your build output directory. Otherwise, it plays the same role, which significantly increases the speed of the analyzer. It can use such help, the EDG interface has never been particularly fast.

Removing them in order, they are used only when the project is loaded into the IDE. If you reload the project, IntelliSense will be catatonic for a while, rebuild the .ipch file, reanalyze the files in the project and recreate the .sdf file in the project directory. On large projects that can take several minutes. Of course, the larger the .ipch file, the longer it will take. This is what you usually consider only after the completion of the project.

+66
Oct. 16 '13 at
source share

You cannot change the location of the ipch file based on peruting, but you can do this for the entire VS installation. To do this, you need to change Always Use Fallback Location in Tools> Options to true . After that, you can delete the ipch folder from the solutions folder and it will no longer appear there.

enter image description here

You can read a little more here.

+6
Dec 14 '16 at 9:04
source share



All Articles