Skip to content

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

Closed
@mysterywolf

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions