Warning, /pim/kmail-account-wizard/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{KF6}",
0010             "hidden": true
0011         },
0012         {
0013             "name": "dev-mold",
0014             "displayName": "Build as debug + using mold linker",
0015             "cacheVariables": {
0016                 "CMAKE_BUILD_TYPE": "Debug",
0017                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0018                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold"
0019             },
0020             "inherits": [
0021                 "base"
0022             ]
0023         },
0024         {
0025             "name": "dev",
0026             "displayName": "Build as debug",
0027             "cacheVariables": {
0028                 "CMAKE_BUILD_TYPE": "Debug",
0029                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0030             },
0031             "inherits": [
0032                 "base"
0033             ]
0034         },
0035         {
0036             "name": "dev-qch",
0037             "displayName": "Build as debug",
0038             "cacheVariables": {
0039                 "CMAKE_BUILD_TYPE": "Debug",
0040                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0041                 "BUILD_QCH": "ON"
0042             },
0043             "inherits": [
0044                 "base"
0045             ]
0046         },
0047         {
0048             "name": "asan",
0049             "displayName": "Build with Asan support.",
0050             "cacheVariables": {
0051                 "CMAKE_BUILD_TYPE": "Debug",
0052                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'"
0053             },
0054             "inherits": [
0055                 "base"
0056             ]
0057         },
0058         {
0059             "name": "dev-clang",
0060             "displayName": "dev-clang",
0061             "cacheVariables": {
0062                 "CMAKE_BUILD_TYPE": "Debug",
0063                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0064             },
0065             "environment": {
0066                 "CXX": "clang++",
0067                 "CCACHE_DISABLE": "ON"
0068             },
0069             "inherits": [
0070                 "base"
0071             ]
0072         },
0073         {
0074             "name": "unity",
0075             "displayName": "Build with CMake unity support.",
0076             "cacheVariables": {
0077                 "CMAKE_BUILD_TYPE": "Debug",
0078                 "USE_UNITY_CMAKE_SUPPORT": "ON"
0079             },
0080             "inherits": [
0081                 "base"
0082             ]
0083         },
0084         {
0085             "name": "release",
0086             "displayName": "Build as release mode.",
0087             "cacheVariables": {
0088                 "CMAKE_BUILD_TYPE": "Release",
0089                 "BUILD_TESTING": "OFF"
0090             },
0091             "inherits": [
0092                 "base"
0093             ]
0094         },
0095         {
0096             "name": "profile",
0097             "displayName": "profile",
0098             "cacheVariables": {
0099                 "CMAKE_BUILD_TYPE": "RelWithDebInfo"
0100             },
0101             "inherits": [
0102                 "base"
0103             ]
0104         },
0105         {
0106             "name": "coverage",
0107             "displayName": "coverage",
0108             "cacheVariables": {
0109                 "CMAKE_BUILD_TYPE": "Debug",
0110                 "USE_UNITY_CMAKE_SUPPORT": "OFF",
0111                 "BUILD_COVERAGE": "ON"
0112             },
0113             "inherits": [
0114                 "base"
0115             ]
0116         },
0117         {
0118             "name": "clazy",
0119             "displayName": "clazy",
0120             "cacheVariables": {
0121                 "CMAKE_BUILD_TYPE": "Debug"
0122             },
0123             "environment": {
0124                 "CXX": "clazy",
0125                 "CCACHE_DISABLE": "ON"
0126             },
0127             "inherits": [
0128                 "base"
0129             ]
0130         },
0131         {
0132             "name": "pch",
0133             "displayName": "pch",
0134             "cacheVariables": {
0135                 "CMAKE_BUILD_TYPE": "Debug",
0136                 "USE_PRECOMPILED_HEADERS": "ON",
0137                 "BUILD_COVERAGE": "ON"
0138             },
0139             "inherits": [
0140                 "base"
0141             ]
0142         }
0143     ],
0144     "buildPresets": [
0145         {
0146             "name": "dev",
0147             "configurePreset": "dev"
0148         },
0149         {
0150             "name": "dev-mold",
0151             "configurePreset": "dev-mold"
0152         },
0153         {   
0154             "name": "dev-qch",
0155             "configurePreset": "dev-qch"
0156         },      
0157         {
0158             "name": "dev-clang",
0159             "configurePreset": "dev-clang"
0160         },
0161         {
0162             "name": "pch",
0163             "configurePreset": "pch"
0164         },
0165         {
0166             "name": "release",
0167             "configurePreset": "release"
0168         },
0169         {
0170             "name": "unity",
0171             "configurePreset": "unity"
0172         },
0173         {
0174             "name": "coverage",
0175             "configurePreset": "coverage"
0176         },
0177         {
0178             "name": "asan",
0179             "configurePreset": "asan"
0180         },
0181         {
0182             "name": "clazy",
0183             "configurePreset": "clazy",
0184             "environment": {
0185                 "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",
0186                 "CCACHE_DISABLE" : "ON"
0187             }
0188         }
0189     ],
0190     "testPresets": [
0191     {
0192       "name": "dev",
0193       "configurePreset": "dev",
0194       "output": {"outputOnFailure": true},
0195       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0196     },
0197     {
0198       "name": "asan",
0199       "configurePreset": "asan",
0200       "output": {"outputOnFailure": true},
0201       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0202     },
0203     {
0204       "name": "unity",
0205       "configurePreset": "unity",
0206       "output": {"outputOnFailure": true},
0207       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0208     },
0209     {
0210       "name": "coverage",
0211       "configurePreset": "coverage",
0212       "output": {"outputOnFailure": true},
0213       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0214     }
0215   ]
0216 }