I have 2 plugins in my project’s ‘Plugins’ folder along with their source files, and every time I build the solution in Visual Studio, the plugins get recompiled even though nothing was changed in their sources. Is there a way to skip the compilation for the 2 plugins?
Did you manage to find a solution to this?
Found the answer: go into the plugin’s .build.cs and in its constructor add bUsePrecompiled = true
Added the answer below
Thank you very much for your answer. Unfortunately however, now it’s creating the library [ProjectName]Editor-000X.dll that seems to be taking a long time. Is there also something that I should change in the project’s .Build.cs to make it work? (I currently have “PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs”. It’s worth keeping in mind that the greatest offender among the project plugins has a PrivatePCHHeaderFile set.)
I don’t know what’s causing that. I had the issue with VRExpansionPlugin and GitSourceControl. I only added that option right after the constructor declaration.
Thank you. Frustratingly, setting that option on some of the plugins of the project I’m working on seems to cause DLL load problems. I shall have to continue investigating.
Did you find a solution?