This repo contains instructions for building the dependencies for our WebCore port.
- Install Xcode Command Line Tools (or the full Xcode package).
- Download the macOS 10.14 Platform SDK from https://github.com/phracker/MacOSX-SDKs/releases and
extract it to
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk. - Install Homebrew (https://brew.sh/)
- Run the following from the Terminal to setup the needed homebrew packages:
brew install cmake ninja nasm
You'll need:
- Visual Studio 2019 (C++)
- CMake
- Ninja
- NASM (https://www.nasm.us/)
At present, to build with Visual Studio, you need to run cmake from inside the
VS 2019 command prompt. Press Start, and search for VS 2019, and click on
x64 Native Tools Command Prompt for VS 2019, or a prompt named similar to
that.
Then, from the x64 Native Tools Command Prompt for VS 2019, change directories to this folder and run the following:
mkdir build
cd build
cmake .. -GNinja
ninja
ninja install
To build for macOS/Linux:
mkdir build
cd build
cmake .. -GNinja
ninja
ninja install
Build products will be in <build_dir>/out.