commit | 4bc998461a98b22927ce69e358d346be8c95d27e | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Mon May 16 16:02:20 2022 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 19 19:14:00 2022 +0000 |
tree | c31160e98bf70e598b51a01b7e7c0499788f6fdf | |
parent | 15b8fd890deb5adfb75e6e1f5767de496ffe3ebb [diff] |
CMake: Function for adding global compilation options in CMake - pw_add_global_compile_options() adds compilation options by directly updating the CMAKE_C_FLAGS and CMAKE_CXX_FLAGS variables. This is a low-level feature that should only be used for truly global flags, such as those that affect the ABI. - Specify a minimum CMake version in pigweed.cmake so the IN_LIST operator can be used. - Add missing pw_log deps. Somehow, specifying the minimum CMake version caused these missing deps to become errors. Change-Id: I379980bc167f655751c2d0349c8812791a64e771 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/79441 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/