Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 643 Bytes

readme.md

File metadata and controls

33 lines (20 loc) · 643 Bytes

libv8

Convert V8 project from GN build system to CMake build system and build for static lib.

usage

fetch V8

./tools/deps.sh

This will take a long time.Please be patient. After finished, the whole v8 project is located at v8-src folder.

Generate CMake project

We use gn-v8.js script to generate CMake project.

gn-v8.js is a fibjs script. Make sure you have installed it.

./tools/gn-v8.js

The CMake V8 project will be located at v8 folder.

Build

./build.sh [release|debug]

The V8 static lib file will be located at bin folder.