Skip to content

add_deps support {public = false} #7079

@MaxwellGengYF

Description

@MaxwellGengYF

Is your feature request related to a problem? Please describe.

add_deps can have options like {public = false} which like add_includedirs and other API.

Describe the solution you'd like

With this config:

target('a')
add_includedirs('./a_dir', {public = true})

target('b')
add_deps('a', {public = false})

target('c')
add_deps('b')

Target 'c' will not inherit includedir './a_dir' from target 'a'.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions