VS is a very powerful and practical IDE that is the software of choice for learning programming in a Windows environment.
Sometimes it takes a long time for a bigger project to compile, and it can be compiled for almost a minute or more if you modify the code. Even in the case of an open incremental compilation, there is no significant improvement. Therefore, in the multi-core era, the full use of the advantages of multi-core CPU to achieve parallel compilation, to shorten the compilation time provides an important way, vs environment can achieve parallel compilation.
1. In debug, select the properties of an item.
2. On the properties, configuration properties, C + +, general, turn on multiprocessor compilation.
3. "Enable minimal rebuild" is turned off in code generation, C + +, properties, configuration properties, and so on.
4. Select options for an item in debug.
5. Set the maximum number of concurrent C + + compilations in the VC + + project settings, projects and solutions, options.
In this way, parallel compilation can be implemented.
To set up multi-core parallel compilation in Visual Studio