Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
3886db82c6f8f94835274e3110f41c27640a6315 (qt/qtbase/dev)
Description
In order to "conanify" qtbase and all the rest of the modules the conanfile.py recipes need to support all the Qt's configurable options and features.
It makes no sense to duplicate all configure options and features (-list-features).The conanfile.py recipes should read all those from a file and set the available recipe options dynamically.
Proposing an option to configure(.bat):
- feel free to come up with a better name for the command line switch
-formatted-options-and-features=output.json|.yaml
The format should be such that the option/feature strings can be directly passed to configure(.bat) without any further formatting
The possible values per option/feature should be also part of the generated output.
Example usage in conanfile.py:
options =
{"shared": [True, False, "default"], # booleans and "default" string are accepted "feature_x": "ANY", # any value is valid "feature_y": ["foo", "bar", None]}# it is allowed to pass None == not to be used
Attachments
Issue Links
- is required for
-
QTQAINFRA-4068 Conan support to CI
- Closed