IT lexicon › Programming › Incremental build

Incremental build

Programming På svenska → Updated: 2026-11-13

A build strategy that recompiles only files that have changed and what depends on them, rather than rebuilding everything.

Incremental building is Make's key innovation from 1976 — it checked file timestamps to decide what needed rebuilding, reducing compilation time from minutes to seconds on large projects. Modern build tools (Ninja, Gradle, Bazel) build on this idea with sophisticated dependency analysis and caching.

The opposite approach — a "clean build" or "full rebuild" — compiles everything from scratch, which is slower but guarantees consistency and rules out hidden dependency bugs.

← Back to the lexicon