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

CMakeLists.txt of node js #3421

Closed
exx8 opened this issue Jun 21, 2021 · 3 comments
Closed

CMakeLists.txt of node js #3421

exx8 opened this issue Jun 21, 2021 · 3 comments

Comments

@exx8
Copy link

exx8 commented Jun 21, 2021

  • Node.js Version:
  • pre 17
  • OS:
  • inux
  • Scope (install, code, runtime, meta, other?):
  • compile

Is there a CMakeLists.txt of nodejs?
I see there is a makefile for the project. Is there a pre-made CMakeLists.txt ?

@bl-ue
Copy link

bl-ue commented Jun 21, 2021

No, there isn't @exx8.

@gengjiawen in nodejs/node#37793 I see that you use CMake — are there official instructions somewhere, or can you give us some hints on how to do this?

@gengjiawen
Copy link
Member

npm i -g @gengjiawen/node-dev # only once
# after you execute config like `./configure --ninja` in Node.js repo 
node-cmake-generator -x -p python3 && node-dev patch-v8

@RedYetiDev
Copy link
Member

(question appears to have been answered)

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

4 participants