Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

##suggestion## File paths in clayers #2

@tarek-bochkati

Description

@tarek-bochkati

Hi,

Starting to prototype using cbuild 0.9.0-b. (not tested yet with 0.10.0-b), I noticed that file paths should be valid and relative the composed .cprj.

This implies that, when writing the .clayer, we should know and respect the cprj generation location (sometimes we are not sure about it).

Another scenario, if a .clayer could be used in several cprjs with different locations:
in this case we should create different clayers with different relative paths.

We suggest to add some option in the cbuildgen when composing the cprj to relativise the paths coming from clayers.
This could be straight-forward for files but may present some difficulties for includes and maybe some items that I have forgotten.

Please advise.

Thank you in advance,
Regards,
Tarek

Metadata

Metadata

Assignees

Labels

BuildquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions