From 2c3fdd8e25319a42f14ccb38f7af8a23d6eb7bd0 Mon Sep 17 00:00:00 2001 From: "sgjesse@chromium.org" Date: Mon, 27 Oct 2008 07:52:59 +0000 Subject: [PATCH] Added a Visual Studio project for the d8 developer shell. Currently without readline support. Review URL: http://codereview.chromium.org/7984 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@596 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- tools/visual_studio/d8.vcproj | 185 +++++++++++++++++++++++++++++++++ tools/visual_studio/d8js2c.cmd | 6 ++ tools/visual_studio/v8.sln | 9 ++ 3 files changed, 200 insertions(+) create mode 100644 tools/visual_studio/d8.vcproj create mode 100644 tools/visual_studio/d8js2c.cmd diff --git a/tools/visual_studio/d8.vcproj b/tools/visual_studio/d8.vcproj new file mode 100644 index 0000000000..ac38bf3ff6 --- /dev/null +++ b/tools/visual_studio/d8.vcproj @@ -0,0 +1,185 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/visual_studio/d8js2c.cmd b/tools/visual_studio/d8js2c.cmd new file mode 100644 index 0000000000..04d8e26276 --- /dev/null +++ b/tools/visual_studio/d8js2c.cmd @@ -0,0 +1,6 @@ +@echo off +set SOURCE_DIR=%1 +set TARGET_DIR=%2 +set PYTHON="..\..\..\third_party\python_24\python.exe" +if not exist %PYTHON% set PYTHON=python.exe +%PYTHON% ..\js2c.py %TARGET_DIR%\natives.cc %TARGET_DIR%\natives-empty.cc D8 %SOURCE_DIR%\macros.py %SOURCE_DIR%\d8.js diff --git a/tools/visual_studio/v8.sln b/tools/visual_studio/v8.sln index c374fc957e..a8a8f9cad3 100644 --- a/tools/visual_studio/v8.sln +++ b/tools/visual_studio/v8.sln @@ -37,6 +37,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "v8_cctest", "v8_cctest.vcpr EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{AD933CE2-1303-448E-89C8-60B1FDD18EC3}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "d8", "d8.vcproj", "{7E4C7D2D-A4B9-40B9-8192-22654E626F6C}" + ProjectSection(ProjectDependencies) = postProject + {C0334F9A-1168-4101-9DD8-C30FB252D435} = {C0334F9A-1168-4101-9DD8-C30FB252D435} + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -51,6 +56,10 @@ Global {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Debug|Win32.Build.0 = Debug|Win32 {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|Win32.ActiveCfg = Release|Win32 {2DE20FFA-6F5E-48D9-84D8-09B044A5B119}.Release|Win32.Build.0 = Release|Win32 + {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Debug|Win32.Build.0 = Debug|Win32 + {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|Win32.ActiveCfg = Release|Win32 + {7E4C7D2D-A4B9-40B9-8192-22654E626F6C}.Release|Win32.Build.0 = Release|Win32 {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Debug|Win32.ActiveCfg = Debug|Win32 {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Debug|Win32.Build.0 = Debug|Win32 {865575D0-37E2-405E-8CBA-5F6C485B5A26}.Release|Win32.ActiveCfg = Release|Win32