xmake
xmake copied to clipboard
add_deps support {public = false}
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