You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that values are not quoted in generated machine file. Surprisingly, they are quoted if value is passed directly tc.project_options["foo"] = "/var/run/foo", I guess there is something wrong when self.options.foo is resolved.
(I'm not sure, but for the fix you likely want to avoid to quote boolean options)
Logs
First option gives this error:
ERROR: Malformed value in machine file variable 'foo': Unsupported node type.
Second option gives this error:
ERROR: Undefined constant 'BAR' in machine file variable 'bar'.
The text was updated successfully, but these errors were encountered:
Environment details
Steps to reproduce
Create a conan recipe based on Meson, and pass a recipe option of type
["ANY"]
(with a string as default_options) toproject_options
.For example:
The problem is that values are not quoted in generated machine file. Surprisingly, they are quoted if value is passed directly
tc.project_options["foo"] = "/var/run/foo"
, I guess there is something wrong when self.options.foo is resolved.(I'm not sure, but for the fix you likely want to avoid to quote boolean options)
Logs
First option gives this error:
Second option gives this error:
The text was updated successfully, but these errors were encountered: