summaryrefslogtreecommitdiff
path: root/build2/granularity-build
blob: 11aeeeb71357a0df608f6009b3d15a5950cae3e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
? Support for "granularity builds" [idea]

In some projects the shared libraries get so large that it takes very long to
link even for small changes (e.g., a single object file changed). What some do
is split the library into multiple ones for debug builds (they still build and
link a single one for release). As a result, when a single file gets changed
then only one, smaller library need to be relinked. This is called
"granularity builds" (as in fine and coarse).

Note that this is not the same as utility libraries (multiple static libraries
that at the end get assembled into a single shared library).