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