Skip to content

通过scons生成CMake VSCode应使用相对路径 #5482

Description

@mysterywolf

目前通过scons生成Cmake vscode工程的头文件路径是绝对路径,应该和keil生成方法一样,使用相对路径,否则工程换个位置,就全报错了。
image
image

参见:
https://github.com/RT-Thread/rt-thread/blob/master/tools/keil.py#L383

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions