From ad1dd230b8ccb70e074b8de7859255168d36acc4 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 27 Aug 2024 15:38:23 +0200 Subject: ide|ci: update build configuration --- CMakePresets.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'CMakePresets.json') diff --git a/CMakePresets.json b/CMakePresets.json index a84435e..13bc7da 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -8,12 +8,37 @@ "cacheVariables": { "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel" } + }, + { + "inherits": "default", + "name": "develop", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "YES", + "CMAKE_INSTALL_PREFIX": "${HOME}/.local", + "TURNS_USE_INSTALLED_SCHEMA_FILES": "NO", + "TURNS_USE_INSTALLED_TRANSLATIONS": "NO" + } + }, + { + "inherits": "default", + "name": "ci", + "cacheVariables": { + "CMAKE_INSTALL_PREFIX": "ch.arknet.Turns" + } } ], "buildPresets": [ { "name": "default", "configurePreset": "default" + }, + { + "name": "develop", + "configurePreset": "develop" + }, + { + "name": "ci", + "configurePreset": "ci" } ], "testPresets": [ @@ -23,6 +48,16 @@ "output": { "outputOnFailure": true } + }, + { + "inherits": "default", + "name": "develop", + "configurePreset": "develop" + }, + { + "inherits": "develop", + "name": "ci", + "configurePreset": "ci" } ] } -- cgit v1.2.3