简体   繁体   English

如何在XCode IDE中构建NodeJS?

[英]How to build NodeJS in XCode IDE?

How can I build NodeJS within the XCode IDE as a project? 如何在XCode IDE中将NodeJS作为项目构建? NodeJS build instructions say that it should be built with: NodeJS构建指令说它应该用以下内容构建:

./configure
make
make install

However I wish to build within the XCode IDE. 但是我希望在XCode IDE中构建。

What I really want to do is embed NodeJS within my application, so I think if I can build NodeJS within XCode then I can just adjust it to add my application once I have NodeJS building and running. 我真正想要做的是在我的应用程序中嵌入NodeJS,所以我想如果我可以在XCode中构建NodeJS,那么我可以调整它以在我建立和运行NodeJS后添加我的应用程序。

I made some progress I think by getting V8 to compile in XCode, now I am trying to add NodeJS to the V8 project. 我想通过让V8在XCode中编译来取得一些进展,现在我正在尝试将NodeJS添加到V8项目中。

在节点存储库根目录中运行./configure --xcode ,您将获得node.xcodeproj文件。

在Node.js中进行此提交 - https://github.com/nodejs/node/pull/20328必须这样做 -

./configure -- -f xcode

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM