Commit Graph

2 Commits

Author SHA1 Message Date
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
24a6e27ca8 pw_log_null: pw_log backend that does nothing
pw_log_null implements pw_log backend using an empty inline function.
This ensures that arguments are checked and evaluated consistently with
a functional pw_log backend.

Change-Id: I65761933c50bba228e2154d2bc4f9636bb069b90
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/17280
Commit-Queue: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-09-01 19:41:48 +00:00