CMake presets for all platforms, architectures, compilers
Find a file
2026-01-03 16:32:11 +01:00
.gitignore Initial commit 2025-12-31 14:10:19 +01:00
CMakeLists.txt added CMakeLists.txt stub setting up compiler and platform properties 2025-12-31 14:48:59 +01:00
CMakePresets.json added arm build and configure presets 2026-01-03 16:02:09 +01:00
LICENSE Initial commit 2025-12-31 14:10:19 +01:00
README.md Update README.md 2026-01-03 16:32:11 +01:00

CMake Presets

CMake presets for all platforms, architectures, compilers. Supported architectures :

Platform Architecture Compiler Supported
Linux x64 clang
Linux arm64 clang
Windows x64 clang
Windows arm64 clang

Usage

The project contains two files:

  • CMakePresets.json
  • CMakeLists.txt

Presets files adds configurations adn build steps for cmake while CMakeLists.txt provides a quick project startup setting common compiler options and platform definitions.

Clone these two files in the root of the project and set a project name in CMakeLists.txt

TODO

The list is not strictly in order of priority:

  • GCC for Linux arm64 and x64
  • Add other common architectures.