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

Linking test target executable against your node file #4

Open
kleetus opened this issue Aug 25, 2015 · 1 comment
Open

Linking test target executable against your node file #4

kleetus opened this issue Aug 25, 2015 · 1 comment

Comments

@kleetus
Copy link

kleetus commented Aug 25, 2015

Mac OS X Yosemite: I am building my c++ bindings as a bundle (mh_bundle). This seems to be the default for node-gyp. Now, I want to use cppunitlite npm module to test my c++ bindings, but I am having issues linking or dlopen my main bindings file. Do you have an example of how to link your test target to your main target?

@smikes
Copy link
Owner

smikes commented Aug 25, 2015

I haven't looked at this code for a few months, so it may be out of date wrt current node builds. That said, I believe the InChi repository (smikes/InChi) uses cppunitlite , though I'm fairly certain that one will give some compiler errors with a modern iojs or node due to API changes.

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