From 69fead1c16b3f50fa901e52ae7f8723728f00aaf Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 7 Jul 2026 01:42:08 +0200 Subject: [PATCH] Add CMake presets for the rest of utils. --- capture/CMakePresets.json | 31 +++++++++++++++++++++++++++++++ csvexport/CMakePresets.json | 31 +++++++++++++++++++++++++++++++ import/CMakePresets.json | 31 +++++++++++++++++++++++++++++++ merge/CMakePresets.json | 31 +++++++++++++++++++++++++++++++ update/CMakePresets.json | 31 +++++++++++++++++++++++++++++++ 5 files changed, 155 insertions(+) create mode 100644 capture/CMakePresets.json create mode 100644 csvexport/CMakePresets.json create mode 100644 import/CMakePresets.json create mode 100644 merge/CMakePresets.json create mode 100644 update/CMakePresets.json diff --git a/capture/CMakePresets.json b/capture/CMakePresets.json new file mode 100644 index 00000000..5370cf95 --- /dev/null +++ b/capture/CMakePresets.json @@ -0,0 +1,31 @@ +{ + "version": 10, + "configurePresets": [ + { + "name": "common", + "hidden": true, + "binaryDir": "${sourceDir}/build-${presetName}", + "generator": "Ninja", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + } + }, + { + "name": "debug", + "displayName": "Debug configuration", + "inherits": "common", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + } + }, + { + "name": "release", + "displayName": "Release configuration", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + } + ] +} diff --git a/csvexport/CMakePresets.json b/csvexport/CMakePresets.json new file mode 100644 index 00000000..5370cf95 --- /dev/null +++ b/csvexport/CMakePresets.json @@ -0,0 +1,31 @@ +{ + "version": 10, + "configurePresets": [ + { + "name": "common", + "hidden": true, + "binaryDir": "${sourceDir}/build-${presetName}", + "generator": "Ninja", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + } + }, + { + "name": "debug", + "displayName": "Debug configuration", + "inherits": "common", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + } + }, + { + "name": "release", + "displayName": "Release configuration", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + } + ] +} diff --git a/import/CMakePresets.json b/import/CMakePresets.json new file mode 100644 index 00000000..5370cf95 --- /dev/null +++ b/import/CMakePresets.json @@ -0,0 +1,31 @@ +{ + "version": 10, + "configurePresets": [ + { + "name": "common", + "hidden": true, + "binaryDir": "${sourceDir}/build-${presetName}", + "generator": "Ninja", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + } + }, + { + "name": "debug", + "displayName": "Debug configuration", + "inherits": "common", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + } + }, + { + "name": "release", + "displayName": "Release configuration", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + } + ] +} diff --git a/merge/CMakePresets.json b/merge/CMakePresets.json new file mode 100644 index 00000000..5370cf95 --- /dev/null +++ b/merge/CMakePresets.json @@ -0,0 +1,31 @@ +{ + "version": 10, + "configurePresets": [ + { + "name": "common", + "hidden": true, + "binaryDir": "${sourceDir}/build-${presetName}", + "generator": "Ninja", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + } + }, + { + "name": "debug", + "displayName": "Debug configuration", + "inherits": "common", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + } + }, + { + "name": "release", + "displayName": "Release configuration", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + } + ] +} diff --git a/update/CMakePresets.json b/update/CMakePresets.json new file mode 100644 index 00000000..5370cf95 --- /dev/null +++ b/update/CMakePresets.json @@ -0,0 +1,31 @@ +{ + "version": 10, + "configurePresets": [ + { + "name": "common", + "hidden": true, + "binaryDir": "${sourceDir}/build-${presetName}", + "generator": "Ninja", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + } + }, + { + "name": "debug", + "displayName": "Debug configuration", + "inherits": "common", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + } + }, + { + "name": "release", + "displayName": "Release configuration", + "inherits": "common", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + } + ] +}