tree: 076b242bcbde06a6119de2f4058172cccaac00d3 [path history] [tgz]
  1. build/
  2. tutorial/
  3. .gn
  4. BUILD.gn
  5. hello.cc
  6. hello_shared.cc
  7. hello_shared.h
  8. hello_static.cc
  9. hello_static.h
  10. README.md
examples/simple_build/README.md

GN Simple Build Example

This is an example directory structure that compiles some simple targets using gcc. It is intended to show how to set up a simple GN build. It is deliberately simplistic so the structure is more clear, and doesn't support everything on every platform.

It is recommended that you take this and add on as your requirements indicate. You may also want to see the Chromium and Fuchsia build configurations for the maximal functionality (the root README has links to these).

Don't miss the “.gn” file in this directory which may be hidden on your system!