Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
master
-
None
-
4db3468c92ea0bc335314e6ea14b0cb927257d4c
Description
Coin has support for conditions on properties like
enable_if: condition: property property: host.os equals_value: Windows
It would be useful to allow conditions on environment variables
enable_if: condition: env_var env_var: "TARGET_CONFIGURE_ARGS" contains_value: "Foo"
enable_if: condition: env_var env_var: "TARGET_CONFIGURE_ARGS" equals_value: "bar"
Might also be useful to add regex matching
enable_if: condition: env_var env_var: "TARGET_CONFIGURE_ARGS" value_matches: "^baz(.+)_bib" # use whatever is the python re syntax
This would allow to make certain decisions which are not based on the configure arguments passed in qt5.git, but also on certain env vars that might be set in repo specific coin/module_config.yaml files, effectively allowing repo-specific instructions rather than platform specific ones.
Attachments
Issue Links
- relates to
-
COIN-601 Allow specifying per-config per-repo configure arguments
- Open