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

Build with cmake #113

Merged
merged 6 commits into from
Sep 23, 2019
Merged

Build with cmake #113

merged 6 commits into from
Sep 23, 2019

Conversation

jschlight
Copy link
Contributor

I've created a couple of example projects that show how to build N-API addons using CMake.js. Once this PR lands, I plan to add links to it, along with some narrative, to nodejs/abi-stable-node#381 and nodejs/node-addon-api#445.

Copy link
Member

@NickNaso NickNaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work @jschlight just some comments.

build_with_cmake/napi/package.json Outdated Show resolved Hide resolved
build_with_cmake/napi/package.json Outdated Show resolved Hide resolved
build_with_cmake/node-addon-api/package.json Outdated Show resolved Hide resolved
build_with_cmake/node-addon-api/package.json Outdated Show resolved Hide resolved
build_with_cmake/node-addon-api/CMakeLists.txt Outdated Show resolved Hide resolved
build_with_cmake/napi/hello.cc Show resolved Hide resolved
build_with_cmake/napi/hello.cc Show resolved Hide resolved
build_with_cmake/node-addon-api/hello.cc Show resolved Hide resolved
build_with_cmake/node-addon-api/hello.cc Show resolved Hide resolved
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once @gabrielschulhof comments have been addressed.

@jschlight jschlight merged commit 5d15903 into nodejs:master Sep 23, 2019
@jschlight
Copy link
Contributor Author

PR merged as discussed during today's N-API team weekly meeting.

@jschlight
Copy link
Contributor Author

Arrg! I'm creating a new PR to implement Gabriel's requests. It should be up momentarily.

@jschlight
Copy link
Contributor Author

I am tracking down why the identical build that succeeded three days ago is now failing. Once I have that issue resolved, I'll create a new PR that fixes the build and adds Gabriel's requests.

2019-09-20 https://travis-ci.org/jschlight/node-addon-examples/builds/587656587
2019-09-23 https://travis-ci.com/nodejs/node-addon-examples/builds/128799292

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

Successfully merging this pull request may close these issues.

4 participants