Skip to content
Eren Okka edited this page Nov 4, 2024 · 30 revisions

These instructions are for v2, which is currently in development. See early revisions for building v1.

Set up your environment

Dependencies:

  • CMake >= 3.21
  • MSVC >= 19 (or another compiler with C++23 support)
  • Qt >= 6.8

Windows

Download Visual Studio 2022 to install the latest MSVC compiler and Windows 11 SDK.

Install Qt using the official installer (requires an account) or aqt. Make sure %QTDIR% environment variable points to your installation.

You also need git to be installed on your system and added to the PATH environment variable.

Get the source code

git clone --recursive https://github.com/erengy/taiga.git
cd taiga

Configure and build

cmake -B build/msvc-x64 -DCMAKE_BUILD_TYPE=msvc-x64-release
cmake --build build/msvc-x64 --config RelWithDebInfo --target taiga

Use cmake --list-presets or cmake --build --list-presets to see available presets.

Deploy

Use windeployqt to copy Qt-related dependencies required to run the application:

%QTDIR%/bin/windeployqt.exe --release bin/RelWithDebInfo/Taiga.exe