Commit Graph

4 Commits

Author SHA1 Message Date
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