Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: support PROPERTY argument on zephyr_link_libraries.
To ease the use of linker flag properties and to simplify the use of generator expression then an optional PROPERTY argument has been added to the zephyr_link_libraries() function. This means a call such as: zephyr_link_libraries($<TARGET_PROPERTY:linker,<property-name>) can instead be simplified to: zephyr_link_libraries(PROPERTY <property-name>) Thus making intention clearer and keeping the complexity and minimizes the risk of typos when writing generator expressions. (cherry picked from commit d634891) Original-Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> GitOrigin-RevId: d634891 Cr-Build-Id: 8737279667330072001 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8737279667330072001 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: If034740a6256b303c28cf80d37a34c38be693aa2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5839789 Reviewed-by: Yuval Peress <peress@google.com> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Tested-by: Keith Short <keithshort@chromium.org>
- Loading branch information