From eb1364bc8d4a8b3fbc7afe7e20c72c7cdbe24217 Mon Sep 17 00:00:00 2001 From: Marcel Pi <25649656+MarcelPiNacy@users.noreply.github.com> Date: Thu, 27 Jun 2024 16:18:22 +0200 Subject: [PATCH] Add initial CMake presets file. --- CMakePresets.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 CMakePresets.json diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 000000000..559128bee --- /dev/null +++ b/CMakePresets.json @@ -0,0 +1,35 @@ +{ + "version": 4, + "configurePresets": [ + { + "name": "common", + "generator": "Ninja", + "hidden": true + }, + { + "name": "Debug", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + } + }, + { + "name": "Development", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "RelWithDebInfo" + } + }, + { + "name": "Release", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + }, + { + "name": "Default", + "inherits": "Release" + } + ] +}