Warning, /education/kturtle/CMakePresets.json is written in an unsupported language. File is not indexed.

0001 {
0002     "version": 3,
0003     "configurePresets": [
0004         {
0005             "name": "base",
0006             "displayName": "base preset",
0007             "generator": "Ninja",
0008             "binaryDir": "${sourceDir}/build-${presetName}",
0009             "installDir": "$env{KF5}",
0010             "hidden": true
0011         },
0012         {
0013             "name": "dev",
0014             "displayName": "Build as debug",
0015             "cacheVariables": {
0016                 "CMAKE_BUILD_TYPE": "Debug",
0017                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0018             },
0019             "inherits": [
0020                 "base"
0021             ]
0022         },
0023         {
0024             "name": "dev-qt6",
0025             "displayName": "Build against qt6",
0026             "binaryDir": "${sourceDir}/build-qt6",
0027             "cacheVariables": {
0028                 "CMAKE_BUILD_TYPE": "Debug",
0029                 "BUILD_WITH_QT6": "ON",
0030                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0031             },
0032             "inherits": [
0033                 "base"
0034             ]
0035         },
0036         {
0037             "name": "asan",
0038             "displayName": "Build with Asan support.",
0039             "cacheVariables": {
0040                 "CMAKE_BUILD_TYPE": "Debug",
0041                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'"
0042             },
0043             "inherits": [
0044                 "base"
0045             ]
0046         },
0047         {
0048             "name": "dev-clang",
0049             "displayName": "dev-clang",
0050             "cacheVariables": {
0051                 "CMAKE_BUILD_TYPE": "Debug",
0052                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0053             },
0054             "environment": {
0055                 "CXX": "clang++",
0056                 "CCACHE_DISABLE": "ON"
0057             },
0058             "inherits": [
0059                 "base"
0060             ]
0061         },
0062         {
0063             "name": "unity",
0064             "displayName": "Build with CMake unity support.",
0065             "cacheVariables": {
0066                 "CMAKE_BUILD_TYPE": "Debug",
0067                 "USE_UNITY_CMAKE_SUPPORT": "ON"
0068             },
0069             "inherits": [
0070                 "base"
0071             ]
0072         },
0073         {
0074             "name": "release",
0075             "displayName": "Build as release mode.",
0076             "cacheVariables": {
0077                 "CMAKE_BUILD_TYPE": "Release"
0078             },
0079             "inherits": [
0080                 "base"
0081             ]
0082         },
0083         {
0084             "name": "profile",
0085             "displayName": "profile",
0086             "cacheVariables": {
0087                 "CMAKE_BUILD_TYPE": "RelWithDebInfo"
0088             },
0089             "inherits": [
0090                 "base"
0091             ]
0092         },
0093         {
0094             "name": "coverage",
0095             "displayName": "coverage",
0096             "cacheVariables": {
0097                 "CMAKE_BUILD_TYPE": "Debug",
0098                 "USE_UNITY_CMAKE_SUPPORT": "OFF",
0099                 "BUILD_COVERAGE": "ON" 
0100             },
0101             "inherits": [
0102                 "base"
0103             ]
0104         },
0105         {
0106             "name": "clazy",
0107             "displayName": "clazy",
0108             "cacheVariables": {
0109                 "CMAKE_BUILD_TYPE": "Debug"
0110             },
0111             "environment": {
0112                 "CXX": "clazy",
0113                 "CCACHE_DISABLE": "ON"
0114             },
0115             "inherits": [
0116                 "base"
0117             ]
0118         },
0119         {
0120             "name": "pch",
0121             "displayName": "pch",
0122             "cacheVariables": {
0123                 "CMAKE_BUILD_TYPE": "Debug",
0124                 "USE_PRECOMPILED_HEADERS": "ON",
0125                 "BUILD_COVERAGE": "ON"
0126             },
0127             "inherits": [
0128                 "base"
0129             ]
0130         }
0131     ],
0132     "buildPresets": [
0133         {
0134             "name": "dev",
0135             "configurePreset": "dev"
0136         },
0137         {
0138             "name": "dev-qt6",
0139             "configurePreset": "dev-qt6"
0140         },
0141         {
0142             "name": "dev-clang",
0143             "configurePreset": "dev-clang"
0144         },
0145         {
0146             "name": "pch",
0147             "configurePreset": "pch"
0148         },
0149         {
0150             "name": "release",
0151             "configurePreset": "release"
0152         },
0153         {
0154             "name": "unity",
0155             "configurePreset": "unity"
0156         },
0157         {
0158             "name": "coverage",
0159             "configurePreset": "coverage"
0160         },
0161         {
0162             "name": "asan",
0163             "configurePreset": "asan"
0164         },
0165         {
0166             "name": "clazy",
0167             "configurePreset": "clazy",
0168             "environment": {
0169                 "CLAZY_CHECKS" : "level0,level1,detaching-member,ifndef-define-typo,isempty-vs-count,qrequiredresult-candidates,reserve-candidates,signal-with-return-value,unneeded-cast,function-args-by-ref,function-args-by-value,returning-void-expression,no-ctor-missing-parent-argument,isempty-vs-count,qhash-with-char-pointer-key,raw-environment-function,qproperty-type-mismatch,old-style-connect,qstring-allocations,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,qstring-varargs,level2,detaching-member,heap-allocated-small-trivial-type,isempty-vs-count,qstring-varargs,qvariant-template-instantiation,raw-environment-function,reserve-candidates,signal-with-return-value,thread-with-slots,no-ctor-missing-parent-argument,no-missing-typeinfo",
0170                 "CCACHE_DISABLE" : "ON"
0171             }
0172         }
0173     ],
0174     "testPresets": [
0175     {
0176       "name": "dev",
0177       "configurePreset": "dev",
0178       "output": {"outputOnFailure": true},
0179       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0180     },
0181     {
0182       "name": "asan",
0183       "configurePreset": "asan",
0184       "output": {"outputOnFailure": true},
0185       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0186     },
0187     {
0188       "name": "unity",
0189       "configurePreset": "unity",
0190       "output": {"outputOnFailure": true},
0191       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0192     },
0193     {
0194       "name": "coverage",
0195       "configurePreset": "coverage",
0196       "output": {"outputOnFailure": true},
0197       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0198     }
0199   ]
0200 }