-
Type:
Suggestion
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: master
-
Fix Version/s: 1.4
-
Component/s: Build / Test Instructions
-
Labels:None
-
Commits:a9107d58575a328a94a542dde1e83c24c2870995
-
Epic Link:
I'm trying to implement calling the CMake configure step for qt5.git, without building, similar how it's done with qmake for qt5.git.
To do that, I need to include instruction .yaml files from qtbase.
version: 2
accept_configuration:
condition: property
property: host.os
equals_property: target.os
instructions:
Build:
- !include "{{qt/qtbase}}/prepare_building_env.yaml"
- ....
Currently that does not work because qtbase is not a dependency of qt5.
Two approaches were proposed:
1) Make qt5 depend on all its submodules. Consequence that qt5 can't be built before all the other dependencies.
2) Allow inclusion of instruction files by relative path.
- !include ""../../qtbase/coin/instructions/my.yaml"
This is needed to avoid even more copy-pasting of instructions between repos.