Skip to content

legends2k/build-fundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published