yourWaifu / v8-cmake

The V8 JavaScript engine, but built with CMake instead of GN - WIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A port of the V8 JavaScript engine to the CMake build system.

motivation

V8 natively uses GN to build itself, which is part of the Chromium ecosystem but pretty much not used outside of it.

CMake is a widely used build system for C and C++ projects. This port will hopefully make it easier to integrate V8 with third-party projects.

Caveat emptor: v8-cmake is very much a work in progress. Bug reports and pull requests welcome!

build

To build the library and the d8 shell:

$ mkdir build && cd build

$ cmake /path/to/v8-cmake

$ make -j8

If CMake complains about python being incompatible or too old:

$ cmake -DPYTHON_EXECUTABLE=/usr/bin/python3 /path/to/v8-cmake

About

The V8 JavaScript engine, but built with CMake instead of GN - WIP

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 69.2%Language:JavaScript 28.8%Language:Python 1.3%Language:TypeScript 0.2%Language:HTML 0.2%Language:C 0.1%Language:Shell 0.1%Language:CMake 0.0%Language:CSS 0.0%Language:Lua 0.0%Language:Scheme 0.0%Language:Vim Script 0.0%Language:R 0.0%Language:Assembly 0.0%Language:Makefile 0.0%Language:Batchfile 0.0%