-
Notifications
You must be signed in to change notification settings - Fork 92
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
Is there a better way to add cpp code? #213
Comments
I've been thinking about this problem for a while and what I've come up with is implemented in another project called libclangjs, here. Libclangjs adds JavaScript / WASM bindings to llvm's libclang (similar to how OCJS adds JavaScript / WASM bindings to OCCT - but much simpler). There is a fairly minimal test and some docs that explain how it works. In summary:
I believe this is much cleaner and lightweight than the current solution of adding c++ code to a yaml file and starting a huge Docker container for each compilation. If you have any thoughts / opinions on this, please let me know. PS: This ignores the fact that the custom build yaml-files also specify which bindings should be included. This would be a separate issue under this proposal. |
It looks great ! If there are any examples, I would be happy to test. |
Adding cpp code to the yml file looks fine.But it's inconvenient when there is a lot of code.
Can I specify that a list of cpp files be included for compilation?
The text was updated successfully, but these errors were encountered: