How do I generate xcode v8 projects?/help

230 views
Skip to first unread message

Shu Dong

unread,
Jun 15, 2017, 6:39:44 AM6/15/17
to v8-users
I follow the Building V8 documentation,From the root of your V8 checkout, run either of:
gypfiles/gyp_v8 -Dtarget_arch=ia32
gypfiles/gyp_v8 -Dtarget_arch=x64
But I did not see all.xcodeproj in the gypfile file. Is not what step is missing?

Zac Hansen

unread,
Jun 15, 2017, 3:42:23 PM6/15/17
to v8-users
Why do you need to generate an xcode project?

Once the files are built, there's not really much else to do with them.   You can add the resulting library files and header file locations to your project that uses them easily enough without having an actual v8 xcode project.

Zac Hansen

unread,
Jun 15, 2017, 5:03:32 PM6/15/17
to v8-users


On Thursday, June 15, 2017 at 3:39:44 AM UTC-7, Shu Dong wrote:

Shu Dong

unread,
Jun 15, 2017, 11:31:18 PM6/15/17
to v8-users
Thank you for your reply. Because I intend to participate in the development of this open source project V8, so I hope to build a xcode project to facilitate the preparation of debugging, but in accordance with the official website of the steps can not be achieved.

Zac Hansen

unread,
Jun 15, 2017, 11:34:08 PM6/15/17
to v8-u...@googlegroups.com
You can always attach the xcode debugger to an existing running program, if that's your desire.   I'm guessing that the core developers have no use for having an xcode project and therefor there is no automatic way to generate an xcode project.  But that's just a guess.



--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/x9wvlxtiKR8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zac Hansen

unread,
Jun 15, 2017, 11:38:48 PM6/15/17
to v8-users
a quick additional glance shows that support for xcode may have been added to gn about a year ago...


also, here's some examples for how to build chromium (which uses a very similar build process to v8) with an xcode project:

Shu Dong

unread,
Jun 16, 2017, 12:03:32 AM6/16/17
to v8-u...@googlegroups.com
Thank you for your reply. Because I intend to participate in the development of this open source project V8, so I hope to build a xcode project to facilitate the preparation of debugging, but in accordance with the official website of the steps can not be achieved.

Shu Dong

unread,
Jun 16, 2017, 12:21:36 AM6/16/17
to v8-users
Thank you very much. Through  “gn gen out / gn --ide = xcode” can really show all.xcodeproj project, is now opening the project, I first played down. Thank you
Reply all
Reply to author
Forward
0 new messages