https://github.com/ngot/libv8
Convert V8 project from GN build system to CMake build system and build for static lib.
https://github.com/ngot/libv8
cmake fibjs js static-library v8
Last synced: 25 days ago
JSON representation
Convert V8 project from GN build system to CMake build system and build for static lib.
- Host: GitHub
- URL: https://github.com/ngot/libv8
- Owner: ngot
- Created: 2017-09-14T13:25:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T16:22:30.000Z (over 7 years ago)
- Last Synced: 2025-03-28T18:50:57.955Z (about 1 month ago)
- Topics: cmake, fibjs, js, static-library, v8
- Language: C++
- Homepage:
- Size: 6.59 MB
- Stars: 13
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# libv8
Convert V8 project from GN build system to CMake build system and build for static lib.
## usage
#### fetch V8
```shell
./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](https://github.com/fibjs/fibjs) script. Make sure you have installed it.
```shell
./tools/gn-v8.js
```The CMake V8 project will be located at `v8` folder.
#### Build
```shell
./build.sh [release|debug]
```The V8 static lib file will be located at `bin` folder.