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

Remove dependency on Node.js headers from tests #2

Open
enlight opened this issue Apr 14, 2015 · 0 comments
Open

Remove dependency on Node.js headers from tests #2

enlight opened this issue Apr 14, 2015 · 0 comments

Comments

@enlight
Copy link
Owner

enlight commented Apr 14, 2015

node-gyp is currently used to build the test target executable, that executable has no dependencies, but node-gyp is actually meant for building native Node.js modules so it expects to have access to the Node.js headers. The only file node-gyp actually needs from Node.js is common.gypi, much of which sets things up for building native Node.js modules - stuff that is irrelevant for building the test target executable.

To remove the need to install the Node.js headers extract the useful bits from common.gypi into an identically named file and put it in this repository, then use the nodedir setting with node-gyp configure to point node-gyp to the directory containing the slimmed down common.gypi.

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

No branches or pull requests

1 participant