Commit Graph

6 Commits

Author SHA1 Message Date
Ewout van Bekkum
bec5c02a01 pw_add_test: Migrate upstream pw_add_test to use PRIVATE_DEPS
Migrates all upstream pw_add_test instantiations outside of the
pw_auto_add_simple_module stamped ones to use PRIVATE_DEPS
instead of DEPS.

Change-Id: I1c7df0ec69cc265fb9b7fc4560a2bd99bca1419f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/116365
Commit-Queue: Ewout van Bekkum <ewout@google.com>
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2022-11-04 17:41:59 +00:00
Ewout van Bekkum
ce9cfadd12 pw_status: Extend CMake support
Change-Id: Ia3326447039e931fafd383cb0fd2000c9114d80d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/79880
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2022-01-20 21:16:07 +00:00
Ewout van Bekkum
c67146e728 pw_build: Add module configuration support for CMake
Change-Id: I73a8cb3b91fd9793c001cc289074e0d7ef921eb4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/75643
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Ewout van Bekkum <ewout@google.com>
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
2022-01-08 01:47:22 +00:00
Yuval Peress
b8f3ad2db9 Zephyr implementation of pw_rpc and dependencies
Provide a Zephyr implementation of the pigweed modules and facades
required for using pw_rpc in a Zephyr application.

Change-Id: I6f148e7d85b338fcb7045460912d228f1785576c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/67186
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Paul Fagerburg <pfagerburg@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Yuval Peress <peress@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2021-12-17 00:09:32 +00:00
Wyatt Hepler
0a6f763b12 CMake: Revamp CMake build
- Define CMake cache variables (similar to gn args) for facade backends.
- Create simple initial toolchain files for GCC and Clang.
- Misc updates to pigweed.cmake and pw_build/CMakeLists.txt.
- Add or expand various CMakeLists.txt files.
- Watch CMake files in watch.py to support using CMake in pw watch.

Change-Id: I490d157485d02811a11f6a3589a0508ea1851f58
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/22840
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-11-04 22:31:07 +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