This repository contains all the necessary tools and scripts to build Google's V8 for embedding.
-
Clone this repository:
git clone https://github.com/citizenfx/v8-build.git cd v8-build
-
Python 3.8+ must be installed on your system.
-
Drive Mapping:
Ensure you do not have a drive mapped to the letter 'Y'. If you do, change the mapping drive target to another letter in the
prepare-depot.ps1
andbuild.ps1
files.
-
Prepare the depot:
Run the following script to prepare the depot:
.\build\prepare-depot.ps1
-
Build V8:
Run the build script:
.\build\build.ps1
-
Wait approximately 20 minutes for the build process to complete.
The build results will be located in the build_results
folder.