e01.org

Unity build

In software engineering, a unity build (also known as unified build, jumbo build or blob build) is a method used in C and C++ software development to speed up the compilation of projects by combining multiple translation units into a single one, usually achieved by using include directives to bundle multiple source files into one larger file.

In software engineering, a unity build (also known as unified build, jumbo build or blob build) is a method used in C and C++ software development to speed up the compilation of projects by combining multiple translation units into a single one, usually achieved by using include directives to bundle multiple source files into one larger file. include "Header.hpp" // content of source file A ... and : include "Header.hpp" // content of source file B ... in the same project both include the header , that header will be processed twice by the compiler chain, once for each build task. If the two translation units are merged into a single source file : include "FileA.cpp" include "FileB.cpp" then will be processed only once (thanks to include guards) when compiling .

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Unity build". 1769225261. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1334539862

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy