Files
Ultralight-SDK/README.md
T
Andrew Zambazos 553ab6537a Added MacOS SDK
2026-06-11 14:04:52 +12:00

2.2 KiB

Ultralight SDK

Ultralight is a lightweight, universal web renderer for C++.

Please visit our website for licensing information.

Prerequisites

Before building the Ultralight SDK, ensure you have the following:

  • CMake (version 3.5 or later)
  • A C++17 compatible compiler

Windows-specific Requirements

If building on Windows without VS 2022, you'll also need:

Building Samples and Tools

The SDK includes a number of samples and tools that can be built using CMake.

Building via CMake

Run the following command in the root of the Ultralight SDK directory to build using the default generator:

cmake -B build && cmake --build build --config Release && cmake --install build --config Release

Build output can be found in the build/out directory.

Building with Visual Studio Code

The SDK includes Visual Studio Code integration for convenient development:

  1. Open the SDK folder in VS Code
  2. Install the recommended extensions when prompted (C/C++ and CMake Tools)
  3. Select your preferred build preset (Release or Debug) when prompted
  4. Build the project using one of these methods:
    • Click the "Build" button in the CMake status bar
    • Run the "Build (Release)" or "Build (Debug)" task from the Terminal menu
    • Press F7 to build with the default configuration

Running Samples in VS Code

After building, you can run and debug any sample:

  • Open the "Run and Debug" view (Ctrl+Shift+D)
  • Select the sample you want to run from the dropdown
  • Press F5 to start debugging or Ctrl+F5 to run without debugging

Each sample is pre-configured with the correct launch settings for Windows, macOS, and Linux.

Using the Library

For information using the library in your application, please visit our online docs.

Link URL
Website https://ultralig.ht
Join our Discord! https://chat.ultralig.ht
Documentation https://docs.ultralig.ht