A C++17 compiler is required to build Chalet from source. Chalet is developed on various compiler versions, but the following versions are currently used during development:
MSVC >= 19.30
Apple Clang >= 13.x
GCC / MinGW >= 11.x
C++17 is targeted instead of C++20 for now to ensure a wide gamut of supported operating systems.
Install:
- CMake
>= 3.16 - Git for Windows
- Visual Studio 2022
- Make sure CMake is accessible from Path (add to System Environment Variables)
- Run
.\build_all.batfrom the project root - Open the
build\msvc_debug\Chalet.slnin Visual Studio if necessary
Install:
- CMake
>= 3.16
- Install Xcode or Command Line Tools
- Install CMake if it's not already
- Run
bash ./build_all.shfrom the project root
Ubuntu / Debian
A GCC version that supports C++17 is required. (>= 7.3)
- Install the following packages:
sudo apt install git cmake ninja-build uuid-dev zip debhelper- Run
bash ./build_all.shfrom the project root
Arch Linux / Manjaro
A GCC version that supports C++17 is required. (>= 7.3)
- Install the following packages:
sudo pacman -S git cmake ninja-build zip- Install
debhelperfrom the AUR - Run
bash ./build_all.shfrom the project root