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