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