Skip to content
Commit 7fa1fb71 authored by Luca Burelli's avatar Luca Burelli Committed by Benjamin Cabé
Browse files

cmake: support generator expressions in build_info()



This patch enables support for genexes in the 'build_info()' function by
identifying when arguments contain them and passing the GENEX flag to
'yaml_set()'.

Genexes are not supported in tag lists; using them will immediately
trigger an error by the schema checks.

They are also not currently supported with PATH entries, because the
actual contents of the list (whose paths are to be converted) are not
known until after the CMake code has been processed.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 8e668484
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment