A lot of plugin developers explicitly name their PCH PluginNamePrivatePCH.h and put it in the private folder of their module.
However, when I added a class to my module using the builtin wizard today, I noticed it added PluginName.h as the expected PCH.
If I go with the simpler PluginName.h will I hit any issues in the future with an expected file or is *PrivatePCH.h just a naming convention to make things more explicit?
As long it’s first header include on cpp files, doesn’t matter.
On 4.15+ PCH aren’t used anymore btw.
Thanks!
What was the PCH replaced with?
Some info in here: