How to make CName marked function from sub-project visible in the final binary?

Hello, I have a project A that produces a shared library and depends on sub-project B. B has some functions that are annotated with CName.
Is there a simple way to make these functions visible in the final binary without hand-written re-exporting functions in the root project A?