Giter VIP home page Giter VIP logo

v8-nuget's Introduction

NuGet package for V8 JavaScript Engine

This package contains prebuild V8 binaries, debug symbols, headers and libraries required to embed the V8 JavaScript engine into a C++ project.

Package Version
V8 x86 for Visual Studio 2013 NuGet
V8 x86 for Visual Studio 2015 NuGet
V8 x86 for Visual Studio 2017 NuGet
V8 x64 for Visual Studio 2013 NuGet
V8 x64 for Visual Studio 2015 NuGet
V8 x64 for Visual Studio 2017 NuGet
V8 x86 for Visual Studio 2013 XP platform toolset NuGet
V8 x86 for Visual Studio 2015 XP platform toolset NuGet
V8 x86 for Visual Studio 2017 XP platform toolset NuGet
V8 x64 for Visual Studio 2013 XP platform toolset NuGet
V8 x64 for Visual Studio 2015 XP platform toolset NuGet
V8 x64 for Visual Studio 2017 XP platform toolset NuGet

Usage

To use V8 in a project install the package v8-$PlatformToolset-$Platform.$Version from a console with nuget install commmand or from inside of Visual Studio (see menu option Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution...) where

  • $PlatformToolset is the C++ toolset version used in Visual Studio:

    • v120 - for Visual Studio 2013
    • v140 - for Visual Studio 2015
    • v141 - for Visual Studio 2017
    • v120_xp - for Visual Studio 2013 XP platform toolset
    • v140_xp - for Visual Studio 2015 XP platform toolset
    • v141_xp - for Visual Studio 2017 XP platform toolset
  • $Platform is a target platform type, currently x86 or x64.

  • $Version is the actual V8 version, one of https://chromium.googlesource.com/v8/v8.git/+refs

After successful package installation add #include <v8.h> in a C++ project and build it. All neccessary files (*.lib, *.dll, *.pdb) should be referenced in the project automatically with MsBuild property sheets.

How to build

This section is mostly for the package maintainers who wants to update V8.

Tools required to build V8 NuGet package on Windows:

To build V8 and make NuGet packages:

  1. Run build.py with optional command-line arguments.
  2. Publish nuget/*.nupkg files after successful build.

Build script build.py supports command-line arguments to specify package build options:

  1. V8 version branch/tag name (or V8_VERSION environment variable), default is lkgr branch
  2. Target platform (or PLATFORM evnironment variable), default is [x86, x64]
  3. Configuration (or CONFIGURATION environment variable), default is [Debug, Release]
  4. XP platofrm toolset usage flag (or XP environment variable), default is not set

v8-nuget's People

Contributors

pmed avatar pgermishuys avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.