-
Notifications
You must be signed in to change notification settings - Fork 121
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
Linking directly to nbind.node #105
Comments
Most of the code in nbind is template metaprogramming, generating code at compile time based on declarations in your libraries. What you suggest might be possible, but you'll need to put the |
If using nbind with several libraries becomes possible, this feature could be very nice. |
It is starting to work. I have copy and paste the v8/Binding.cc code inside each of my nbind addons. The goal is to have the NBIND_CLASS of NBind and to call a NODE_MODULE with the same initModule. Could it be possible to separate the NBind class implementation from the remaining of the file? My idea is to compile nbind alone and only add in my addons the v8/Binding.cc file without NBind class implementation. This should simplify a lot the creation of nbind addon. |
I have another (maybe silly) question about nbind.
Could it be possible to compile nbind sources alone in a nbind.node and then link my libraries with it? Should it works or is there something to do with node addon linking?
Thanks
The text was updated successfully, but these errors were encountered: