From 1294ede546b1b73a922cd90478f8d642a73f0a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Mon, 24 Aug 2026 14:19:40 +0200 Subject: [PATCH] Add a quickstart section --- Building-with-CMake.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Building-with-CMake.md b/Building-with-CMake.md index 8c5dc75..ce02bc9 100644 --- a/Building-with-CMake.md +++ b/Building-with-CMake.md @@ -12,6 +12,18 @@ Visual Studio Code supports CMake Presets through the [CMake Tools extension](ht [Official Documentation](https://github.com/microsoft/vscode-cmake-tools/blob/HEAD/docs/README.md) +## Quick Start + +[Clone the repository](https://github.com/dolphin-emu/dolphin/wiki/Cloning), then run the following command: + +```sh +cmake --workflow ninja-release-x64 +``` + +This configures and builds Dolphin in one step. The binary will be in the resulting `build/release/x64/Binaries` directory. + +Building for a different architecture (e.g. `arm64`) or need more control over the build? See [Using CMake Presets](#using-cmake-presets) below. + ## Disable the Global User Directory By default, Dolphin uses the global user directory for its configuration, saves, cache, and other user data. To make a build use a local user directory, create a file named `portable.txt` in the same directory as the executable files of the build. Dolphin will check if that file exists in the same directory, then it will not use the global user directory, instead it will create and use the local user directory in the same directory.