Replies: 1 comment
-
When possible Binder is try to place generated code into file named after include file declaration comes from. In principle this allows generated sources to mimic dir structure of original project. Main reason for this is to simplify inspection of generated code or large projects by human when desired. For example if we know that class Also, if primary use case is to generate bindings for tiny projects (say <10K of LOC) then using Binder |
Beta Was this translation helpful? Give feedback.
-
Running
binder --root-module PRJ --prefix auto [...] all_includes.hpp
whereall_includes.hpp
isdirectory
auto
will containWhy this arbitrary choice of file name
A.cpp
, taken from the first include. Why not ratherall_includes.cpp
?Beta Was this translation helpful? Give feedback.
All reactions