• Home
Name Date Size #Lines LOC

..--

README.txtD03-May-20243 KiB7156

arm.vspropsD03-May-2024433 1514

common.vspropsD03-May-20241 KiB3534

d8.vcprojD03-May-20243.5 KiB194193

d8_arm.vcprojD03-May-20243.7 KiB194193

d8_x64.vcprojD03-May-20243.8 KiB210209

d8js2c.cmdD03-May-2024270 76

debug.vspropsD03-May-2024384 1817

ia32.vspropsD03-May-2024449 1817

js2c.cmdD03-May-2024597 76

release.vspropsD03-May-2024510 2524

v8.slnD03-May-20246.2 KiB102101

v8.vcprojD03-May-20244.7 KiB228227

v8_arm.slnD03-May-20244.4 KiB7574

v8_arm.vcprojD03-May-20244.9 KiB228227

v8_base.vcprojD03-May-202426.8 KiB1,3091,307

v8_base_arm.vcprojD03-May-202425.2 KiB1,2391,238

v8_base_x64.vcprojD03-May-202426.5 KiB1,3011,299

v8_cctest.vcprojD03-May-20244.7 KiB266265

v8_cctest_arm.vcprojD03-May-20244.3 KiB250249

v8_cctest_x64.vcprojD03-May-20244.5 KiB258257

v8_mksnapshot.vcprojD03-May-20242.4 KiB146145

v8_mksnapshot_x64.vcprojD03-May-20242.4 KiB146145

v8_process_sample.vcprojD03-May-20242.4 KiB146145

v8_process_sample_arm.vcprojD03-May-20242.6 KiB146145

v8_process_sample_x64.vcprojD03-May-20242.7 KiB162161

v8_shell_sample.vcprojD03-May-20242.5 KiB148147

v8_shell_sample_arm.vcprojD03-May-20242.7 KiB148147

v8_shell_sample_x64.vcprojD03-May-20242.8 KiB164163

v8_snapshot.vcprojD03-May-20242.4 KiB143142

v8_snapshot_cc.vcprojD03-May-20242.2 KiB9392

v8_snapshot_cc_x64.vcprojD03-May-20242.2 KiB9392

v8_snapshot_x64.vcprojD03-May-20242.4 KiB143142

v8_x64.slnD03-May-20246.1 KiB102101

v8_x64.vcprojD03-May-20244.7 KiB228227

x64.vspropsD03-May-2024477 1918

README.txt

1This directory contains Microsoft Visual Studio project files for including v8
2in a Visual Studio/Visual C++ Express solution. All these project files have
3been created for use with Microsoft Visual Studio 2005. They can however also
4be used in both Visual Studio 2008 and Visual C++ 2008 Express Edition. When
5using the project files in the 2008 editions minor upgrades to the files will
6be performed by Visual Studio.
7
8v8_base.vcproj
9--------------
10Base V8 library containing all the V8 code but no JavaScript library code.
11
12v8.vcproj
13---------
14V8 library containing all the V8 and JavaScript library code embedded as source
15which is compiled as V8 is running.
16
17v8_mksnapshot.vcproj
18--------------------
19Executable v8_mksnapshot.exe for building a heap snapshot from a running V8.
20
21v8_snapshot_cc.vcproj
22---------------------
23Uses v8_mksnapshot.exe to generate snapshot.cc, which is used in
24v8_snapshot.vcproj.
25
26v8_snapshot.vcproj
27------------------
28V8 library containing all the V8 and JavaScript library code embedded as a heap
29snapshot instead of source to be compiled as V8 is running. Using this library
30provides significantly faster startup time than v8.vcproj.
31
32The property sheets common.vsprops, debug.vsprops and release.vsprops contains
33most of the configuration options and are inhireted by the project files
34described above. The location of the output directory used are defined in
35common.vsprops.
36
37With regard to Platform SDK version V8 has no specific requriments and builds
38with either what is supplied with Visual Studio 2005 or the latest Platform SDK
39from Microsoft.
40
41When adding these projects to a solution the following dependencies needs to be
42in place:
43
44  v8.vcproj depends on v8_base.vcproj
45  v8_mksnapshot.vcproj depends on v8.vcproj
46  v8_snapshot_cc.vcproj depends on v8_mksnapshot.vcproj
47  v8_snapshot.vcproj depends on v8_snapshot_cc.vcproj and v8_base.vcproj
48
49A project which uses V8 should then depend on v8_snapshot.vcproj.
50
51If V8 without snapshot if preferred only v8_base.vcproj and v8.vcproj are
52required and a project which uses V8 should depend on v8.vcproj.
53
54Two sample project files are available as well. These are v8_shell_sample.vcproj
55for building the sample in samples\shell.cc and v8_process_sample.vcproj for
56building the sample in samples\process.cc. Add either of these (or both) to a
57solution with v8_base, v8, v8_mksnapshot and v8_snapshot set up as described
58solution with v8_base, v8, v8_mksnapshot and v8_snapshot set up as described
59above and have them depend on v8_snapshot.
60
61Finally a sample Visual Studio solution file for is provided. This solution file
62includes the two sample projects together with the V8 projects and with the
63dependencies configured as described above.
64
65Python requirements
66-------------------
67When using the Microsoft Visual Studio project files Python version 2.4 or later
68is required. Make sure that python.exe is on the path before running Visual
69Studio. The use of Python is in the command script js2c.cmd which is used in the
70Custom Build Step for v8natives.js in the v8.vcproj project.
71