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