- 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>
- pw_log_tokenized is a backend for pw_log that packs the log level and
flags into the PW_TOKENIZE_TO_GLOBAL_HANDLER payload argument. In a
future change, it will pack a truncated module name token as well.
This allows for full runtime log filtering in the backend with no
overhead beyond the tokenization macro.
- Make the pw_TokenizerPayload a uintptr_t, which is guaranteed to fit a
pointer, but it easier to work with when dealing with numeric values.
Change-Id: Iee265eda2dad56af88eedc70916e4e92eeb5f2af