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