Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.8 KB

README.org

File metadata and controls

45 lines (34 loc) · 1.8 KB

Build Fundamentals

A presentation that aims to build mental model for using build system from first principles.

View it on your browser.

It takes you from hand-compiling C code to using Makefile to using Chromium’s GN build system. Strictly speaking, you don’t need to be a programmer; we just use the tools, not write any. Being comfortable with the terminal/command-line helps.

Agenda

Prepared with increasing automation/complexity in the content:

  1. Manual: Hand-made
    • Binaries
    • Build Configurations
  2. Build system: Make
    • Targets
    • Recipes
    • Dependencies
  3. Meta-build system: GN

References

  1. GNU Compile Collection Documentation
  2. Microsoft MSVC compiler Reference
  3. GNU Makefile Documentation
  4. MakefileTutorial.com friendly
  5. GN Documentation
    • Quick Start, Reference, Style Guide, Language
  6. Using GN Build (2015)
  7. Chromium codebase
  8. StackOverflow.com

Credits