Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
34 Views

Incremental compilation not working

I have a VS2013 solution with a couple of CPP/H files as well as a precompiled header which contains a lot: it has references to Boost, Intel libraries and more. My precompiled header is set up correctly on all files: it's set to Create on stdafx and Use on other files.

Now the problem I have is that, every time I go to Build Project, the entire thing gets built, using the precompiled header and all. This is not right, because stdafx.cpp should only be built once. And this problem is Parallel-XE-specific because Microsoft does it correctly.

0 Kudos
3 Replies
Highlighted
34 Views

You may take a look at below link regarding the differences of Intel compiler precompiled header support and see whether you hit one the cases.

https://software.intel.com/en-us/node/522754

Thanks,

Shenghong

0 Kudos
Highlighted
Beginner
34 Views

shenghong-geng (Intel) wrote:

You may take a look at below link regarding the differences of Intel compiler precompiled header support and see whether you hit one the cases.

https://software.intel.com/en-us/node/522754

Thanks,

Shenghong

Umm, no, I'm not hitting any of these cases and my problem is more fundamental: not so much with the generation of PCH but the fact it gets regenerated on every compile, even if I change a single symbol in one of the CPP files. This shouldn't be happening.

0 Kudos
Highlighted
34 Views

Hi dnesteruk,

Are you able to create a smaller test case (solution) that demostrates the problem?  We need something to reproduce it on our machine and then investigate.

Thanks.

0 Kudos