v8/tools/visual_studio
erik.corry@gmail.com fa7c92eaf5 First step towards making JumpTarget work on ARM. Instead
of having a list of virtual frame pointers in the jump
target we have one virtual frame, which is the frame that
all have to merge to to branch to that frame.  The virtual
frame in the JumpTarget is inside the JumpTarget, rather than
being an allocated object that is pointed to.  Unfortunately
this means that the JumpTarget class has to be able to see
the size of a VirtualFrame object to compile, which in turn
lead to a major reorganization of related .h files.  The
actual change of functionality in this change is intended
to be minimal (we now assert that the virtual frames match
when using JumpTarget instead of just assuming that they do).
Review URL: http://codereview.chromium.org/1961004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4631 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-05-10 11:32:25 +00:00
..
arm.vsprops Make not sucking at regexp the default 2010-04-19 19:30:11 +00:00
common.vsprops Update MSVS and Xcode projects to make V8 compilable. 2010-04-14 08:31:37 +00:00
d8_arm.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
d8_x64.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
d8.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
d8js2c.cmd Added a Visual Studio project for the d8 developer shell. Currently without readline support. 2008-10-27 07:52:59 +00:00
debug.vsprops Api inlining. Made some core functionality available in the api and 2009-08-26 10:33:11 +00:00
ia32.vsprops Make not sucking at regexp the default 2010-04-19 19:30:11 +00:00
js2c.cmd Update Visual Studio project files. 2010-03-23 13:09:33 +00:00
README.txt Remove JSCRE 2009-02-25 08:08:01 +00:00
release.vsprops Changed optimization from /Ox to the (more) commonly used /O2 (which includes 2008-10-02 09:41:01 +00:00
v8_arm.sln Use different output directories when building using the Visual Studion solution.The different Visual Studio solutions for building for the different architures ia32, x64 and arm (simulator) now use separate output directories. Debug/Release for ia32, Debug64/Release64 for x64 and DebugArm/ReleaseArm for arm (simulator).It was required to duplicate all the project files for arm to avoid output from ia32 and arm to get mixed. 2009-09-07 10:47:31 +00:00
v8_arm.vcproj Update Visual Studio project files. 2010-03-23 13:09:33 +00:00
v8_base_arm.vcproj First step towards making JumpTarget work on ARM. Instead 2010-05-10 11:32:25 +00:00
v8_base_x64.vcproj First step towards making JumpTarget work on ARM. Instead 2010-05-10 11:32:25 +00:00
v8_base.vcproj First step towards making JumpTarget work on ARM. Instead 2010-05-10 11:32:25 +00:00
v8_cctest_arm.vcproj Add a few tests to ProfilerEventsProcessor. 2010-03-19 13:51:01 +00:00
v8_cctest_x64.vcproj Add a few tests to ProfilerEventsProcessor. 2010-03-19 13:51:01 +00:00
v8_cctest.vcproj Add a few tests to ProfilerEventsProcessor. 2010-03-19 13:51:01 +00:00
v8_mksnapshot_x64.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_mksnapshot.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_process_sample_arm.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_process_sample_x64.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_process_sample.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_shell_sample_arm.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_shell_sample_x64.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_shell_sample.vcproj Fix 64-bit build on Windows and Visual Studio project files 2010-01-27 16:18:58 +00:00
v8_snapshot_cc_x64.vcproj Create a set of x64 Visual studio project files and corresponding solution. 2009-08-19 07:32:48 +00:00
v8_snapshot_cc.vcproj Create build structure for X64. 2009-04-29 13:11:48 +00:00
v8_snapshot_x64.vcproj Create a set of x64 Visual studio project files and corresponding solution. 2009-08-19 07:32:48 +00:00
v8_snapshot.vcproj Create build structure for X64. 2009-04-29 13:11:48 +00:00
v8_x64.sln Create a set of x64 Visual studio project files and corresponding solution. 2009-08-19 07:32:48 +00:00
v8_x64.vcproj Update Visual Studio project files. 2010-03-23 13:09:33 +00:00
v8.sln Fix snapshot generation on Visual Studio. Compiling source files generated 2009-01-27 16:20:10 +00:00
v8.vcproj Update Visual Studio project files. 2010-03-23 13:09:33 +00:00
x64.vsprops Make not sucking at regexp the default 2010-04-19 19:30:11 +00:00

This directory contains Microsoft Visual Studio project files for including v8
in a Visual Studio/Visual C++ Express solution. All these project files have
been created for use with Microsoft Visual Studio 2005. They can however also
be used in both Visual Studio 2008 and Visual C++ 2008 Express Edition. When
using the project files in the 2008 editions minor upgrades to the files will
be performed by Visual Studio.

v8_base.vcproj
--------------
Base V8 library containing all the V8 code but no JavaScript library code. This
includes third party code for string/number convertions (dtoa).

v8.vcproj
---------
V8 library containing all the V8 and JavaScript library code embedded as source
which is compiled as V8 is running.

v8_mksnapshot.vcproj
--------------------
Executable v8_mksnapshot.exe for building a heap snapshot from a running V8.

v8_snapshot_cc.vcproj
---------------------
Uses v8_mksnapshot.exe to generate snapshot.cc, which is used in
v8_snapshot.vcproj.

v8_snapshot.vcproj
------------------
V8 library containing all the V8 and JavaScript library code embedded as a heap
snapshot instead of source to be compiled as V8 is running. Using this library
provides significantly faster startup time than v8.vcproj.

The property sheets common.vsprops, debug.vsprops and release.vsprops contains
most of the configuration options and are inhireted by the project files
described above. The location of the output directory used are defined in
common.vsprops.

With regard to Platform SDK version V8 has no specific requriments and builds
with either what is supplied with Visual Studio 2005 or the latest Platform SDK
from Microsoft.

When adding these projects to a solution the following dependencies needs to be
in place:

  v8.vcproj depends on v8_base.vcproj
  v8_mksnapshot.vcproj depends on v8.vcproj
  v8_snapshot_cc.vcproj depends on v8_mksnapshot.vcproj
  v8_snapshot.vcproj depends on v8_snapshot_cc.vcproj and v8_base.vcproj

A project which uses V8 should then depend on v8_snapshot.vcproj.

If V8 without snapshot if preferred only v8_base.vcproj and v8.vcproj are
required and a project which uses V8 should depend on v8.vcproj.

Two sample project files are available as well. These are v8_shell_sample.vcproj
for building the sample in samples\shell.cc and v8_process_sample.vcproj for
building the sample in samples\process.cc. Add either of these (or both) to a
solution with v8_base, v8, v8_mksnapshot and v8_snapshot set up as described
solution with v8_base, v8, v8_mksnapshot and v8_snapshot set up as described
above and have them depend on v8_snapshot.

Finally a sample Visual Studio solution file for is provided. This solution file
includes the two sample projects together with the V8 projects and with the
dependencies configured as described above.

Python requirements
-------------------
When using the Microsoft Visual Studio project files Python version 2.4 or later
is required. Make sure that python.exe is on the path before running Visual
Studio. The use of Python is in the command script js2c.cmd which is used in the
Custom Build Step for v8natives.js in the v8.vcproj project.