Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid generation for all specified languages #25

Closed
anastasiia-kornilova opened this issue Jul 27, 2021 · 3 comments
Closed

Avoid generation for all specified languages #25

anastasiia-kornilova opened this issue Jul 27, 2021 · 3 comments

Comments

@anastasiia-kornilova
Copy link

anastasiia-kornilova commented Jul 27, 2021

Good day! Many thanks for this great tool! Could you, please, give me a tip -- is there a way to generate files only for the target platform? For example, in our case, we build a bridge from C++ library to Java-code in Android app and wonder is there a flag/option not to generate bindigs for other languages (Swift, js, python, etc)?

@Boris-Rasin
Copy link
Member

Hello!

Such an option would not save any time - the majority of time is spent parsing C++ header (only once), the subsequent generation of bindings (for all languages) takes very little time in comparison. That's why I decided against such an option. Is there any other reason you want this option?

@anastasiia-kornilova
Copy link
Author

Actually, the main reason is to have less overhead and files that are not-related explicitly to the project. But it is not very crucial for our project, so my question was more about interest.

Many thanks one more time for the tool!

@Boris-Rasin
Copy link
Member

Thanks!

If you have any other questions or requests please don't hesitate to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants