tree: 52ff2c68c9ad7af7951d8f434b0716468cfd8aca [path history] [tgz]
  1. build/
  2. .gn
  3. BUILD.gn
  4. hello.cc
  5. hello_shared.cc
  6. hello_shared.h
  7. hello_static.cc
  8. hello_static.h
  9. 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!