Hi,
is it possible to combine multi-processor compilation with precompiled headers? I am using Visual Studio 2013 with Intel Composer XE 2013 SP1. I have set up my project to use multi-processor compilation (/MP) and I have a pch.h + pch.cpp for the precompiled header. For the project I have selected "use" precompiled header (/Yu) while for pch.cpp this is set to "create" (/Yc). I use "force include" to automatically include the pch.h in every cpp file. This configuration works fine with the Microsoft Compiler. The Intel compiler also compiles everything just fine, but totally ignores the /MP switch -> compiling one file after the other with just a single icl process runnning.
When I completely deactivate the precompiled header (for both, the project and the pch.cpp file) the multi-processor compilation works as expected (on my machine resulting in 8 icl processes running concurrently).
Is there a reason why this does not work with precompiled headers? Am I doing something wrong?
Regards,
Manuel