xmake icon indicating copy to clipboard operation
xmake copied to clipboard

add_deps support {public = false}

Open MaxwellGengYF opened this issue 3 weeks ago • 0 comments

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

MaxwellGengYF avatar Nov 29 '25 14:11 MaxwellGengYF