How to re-generate the .sln and the .vcxproj

83 views
Skip to first unread message

Amaranth F

unread,
Jun 30, 2016, 8:25:33 AM6/30/16
to v8-users
I've built v8 successfully some days ago, and today I'm following this post to add extra files to my project.

I added 
    'v8_extra_library_files': [
'../test/cctest/test-extra.js',
'../extra/vec2.js'
],
to the standalone.gypi, and run the cmd: 
python gypfiles\gyp_v8
Updating projects from gyp files...

But the js2c.vcxproj file isn't modified at all. Even I deleted all the .sln and .vcxproj files, the gyp couldn't generate any files more.

Jochen Eisinger

unread,
Jul 1, 2016, 3:15:57 AM7/1/16
to v8-users
Do you happen to have any gyp related environment variable set, e.g. GYP_GENERATORS?

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

Amaranth F

unread,
Jul 1, 2016, 3:21:30 AM7/1/16
to v8-users
Yes, I followed the instruction from here.
set GYP_GENERATORS=ninja
python build\gyp_v8

在 2016年7月1日星期五 UTC+8下午3:15:57,Jochen Eisinger写道:

Jochen Eisinger

unread,
Jul 1, 2016, 4:24:26 AM7/1/16
to v8-users
GYP_GENERATOR=ninja will create files for the ninja build system. If you want MSVS files, you'll have to unset that variable (or set it to msvs I think)

Amaranth F

unread,
Jul 1, 2016, 4:31:58 AM7/1/16
to v8-users
Yes it works, thank you very much!

在 2016年7月1日星期五 UTC+8下午4:24:26,Jochen Eisinger写道:
Reply all
Reply to author
Forward
0 new messages