Closed kafteji closed 5 years ago
Inheritance over files is complex (it's also not possible for Project.meta). This would mean a lot of effort.
What you can do to make it a little bit easier:
bake UnitTestBase --adapt coverage,gcc
Btw: usually you have two separate Adapt.meta if you want to use them independently, e.g. coverage with another compiler or gcc without coverage etc.
--> I will close this ticket, I hope this is okay for you.
If we want to build unit tests for coverage for examples. we need to create another coverage/Adapt.meta file which contains the specific compile flags and use it along with the base gcc/Adapt.meta.
The bake command would be:
bake UnitTestBase --adapt coverage --adapt gcc
But it would be better to just use a coverage/Adapt.meta directly which already inherits configurations from gcc/Adapt.meta. Then, just execute:
bake UnitTestBase --adapt coverage
Thanks