Skip to content

Possibility to adjust lvgl dir for generated files #184

@mkiepfer

Description

@mkiepfer

Is there an option to change the base dir where lvgl source are located?

In the generated code all includes expect the lvgl headers to be located in the lvgl subfolder
E.g.
#include "lvgl/src/others/xml/parsers/lv_xml_obj_parser.h"

This forces the developer to have the lvgl source code located in a folder names lvgl, which makes it very inflexible. When using a package manager or cmakes FetchContent, this folder does not exists and it is nearly impossible to resolve this

Solution
In my opinion it would be better to use a start point for includes internal within the lvgl repo structure to allow automatic include dependency resolution using cmake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions