legends2k / build-fundamentals

Presentation on basics of using build systems

Home Page:https://legends2k.github.io/build-fundamentals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Presentation on basics of using build systems

https://legends2k.github.io/build-fundamentals

License:Creative Commons Attribution 4.0 International


Languages

Language:JavaScript 48.6%Language:HTML 36.4%Language:SCSS 14.3%Language:CSS 0.7%