To set up multi-core parallel compilation in Visual Studio

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.