C++ / Documentation search
Find the error. Find the next step.
Search by diagnostic code, copied message, or symptom. Filter by content and project system.
6 results for “slow build”
Browse documentation →Speed up C++ builds in Visual Studio
Make MSVC builds faster: measure them, compile in parallel with /MP, use precompiled headers, include less, and link faster in Debug.
C++ Build Insights
Microsoft's tools and tutorials for investigating build bottlenecks, parallelism, and repeated header parsing.
Speed up C++ builds in Visual Studio: Compile files in parallel
For MSBuild C++ projects, check C/C++ > General > Multi-processor Compilation ( /MP ): it lets an MSVC compiler invocation compile multiple source files in parallel. It may already be enabled by your project template. Visual Studio also…
Speed up C++ builds in Visual Studio: Keep Debug builds light
Whole Program Optimization ( /GL and /LTCG ) belongs in Release only: in Debug it delays all code generation to the link. Linker > General > Enable Incremental Linking should be Yes in Debug, so that a small change relinks quickly. Give…
Check your build settings
CppPilot finds inconsistent, accidental, slow, and outdated settings in Visual Studio C++ solutions, property sheets included.
Check your build settings: Settings checked
Inconsistent: static libraries linked with another runtime library ( LNK2038 ), a Release configuration that builds a Debug project, different toolsets or C++ standards, two projects sharing an intermediate directory or writing the same…