Commit Graph

8 Commits

Author SHA1 Message Date
Alexei Frolov
f6753904d2 GN build: Add application images group and docs
This change adds a top-level build group for application images, as well
as documentation for the upstream GN build layout.

Change-Id: Ib559a9747e9758648cd97b5192126028a01526f2
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/13520
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Reviewed-by: Rob Oliver <rgoliver@google.com>
2020-07-17 17:38:57 +00:00
Alexei Frolov
edd2f148be pw_build: Switch to pw_* target types
This change replaces the implicit overrides of the default GN target
types in BUILDCONFIG.gn with explicit pw_* versions. This is done to
allow Pigweed to build within larger GN projects without modifying their
BUILDCONFIG files.

Change-Id: I1d1e41d5e9bde8fe076f7031f3c2b98b9630ff70
2020-06-16 09:50:59 -07:00
Armando Montanez
0054a9be70 Docs: Add missing RST docs
Adds dcos.rst files for all modules lacking documentation.

Change-Id: Ief5594831d31fcb876381a4a3886382fab7d595e
2020-03-17 00:13:35 +00:00
Armando Montanez
bcc194b750 docs: Extend readme, more docs
Adds/updates docs.

Bug: 125, 129

Change-Id: I96b8bc07c3817d6b629e546f74c06d7345b3227e
2020-03-12 18:00:44 +00:00
Alexei Frolov
9d169d5625 pw_build: Update docs summary
This change adapts Pigweed's build system introductory summary into its
ReST documentation.

Change-Id: Icabdca3049a58285207fa177263aefc46be13960
2020-03-04 18:23:24 +00:00
Wyatt Hepler
0fbcdfc3cd Basic CMake build
- Automatically add simple modules with pw_auto_add_simmple_module.
- Define libraries in a module with pw_add_module_library.
- Define tests and test groups with pw_add_test and
  pw_add_test_to_groups.
- Tests execute with full Ninja dependency resolution, as in the GN
  build.
- Add CMakeLists.txt for existing modules.
- Currently there is no support for targets, but these libraries would
  be trivial to integrate with an existing CMake build.

Change-Id: If73d8b61bce88f91141737eb773f1ebce3a7676e
2020-01-04 01:05:46 +00:00
Alexei Frolov
69ad1929c4 Add pw_input_group GN template
This change defines a template that allows listing input file
dependencies in a build target that does not output anything. This code
code was previously inlined in pw_docgen but is extracted into a general
template for use elsewhere.

The pw_build module docs are expanded to describe the GN templates
provided by the module.

Change-Id: I5f2624c792dccb47c379727285f22f05eb05dfdf
2019-12-14 00:11:34 +00:00
Rob Mohr
49de49203a Fix how pw_build docs are used.
Change-Id: Ic6d357a116f0da8b167a1b9618ca84f6513c5ec5
2019-12-10 20:10:44 -08:00