Warning, /utilities/keditbookmarks/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": "release-qt6",
0058             "displayName": "Build as release mode.",
0059             "cacheVariables": {
0060                 "CMAKE_BUILD_TYPE": "Release",
0061                 "BUILD_WITH_QT6": "ON"          
0062             },
0063             "inherits": [
0064                 "base-qt6"
0065             ]
0066         },      
0067         {
0068             "name": "asan",
0069             "displayName": "Build with Asan support.",
0070             "cacheVariables": {
0071                 "CMAKE_BUILD_TYPE": "Debug",
0072                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'"
0073             },
0074             "inherits": [
0075                 "base"
0076             ]
0077         },
0078         {
0079             "name": "dev-clang",
0080             "displayName": "dev-clang",
0081             "cacheVariables": {
0082                 "CMAKE_BUILD_TYPE": "Debug",
0083                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0084             },
0085             "environment": {
0086                 "CXX": "clang++",
0087                 "CCACHE_DISABLE": "ON"
0088             },
0089             "inherits": [
0090                 "base"
0091             ]
0092         },
0093         {
0094             "name": "unity",
0095             "displayName": "Build with CMake unity support.",
0096             "cacheVariables": {
0097                 "CMAKE_BUILD_TYPE": "Debug",
0098                 "USE_UNITY_CMAKE_SUPPORT": "ON"
0099             },
0100             "inherits": [
0101                 "base"
0102             ]
0103         },
0104         {
0105             "name": "release",
0106             "displayName": "Build as release mode.",
0107             "cacheVariables": {
0108                 "CMAKE_BUILD_TYPE": "Release"
0109             },
0110             "inherits": [
0111                 "base"
0112             ]
0113         },
0114         {
0115             "name": "profile",
0116             "displayName": "profile",
0117             "cacheVariables": {
0118                 "CMAKE_BUILD_TYPE": "RelWithDebInfo"
0119             },
0120             "inherits": [
0121                 "base"
0122             ]
0123         },
0124         {
0125             "name": "coverage",
0126             "displayName": "coverage",
0127             "cacheVariables": {
0128                 "CMAKE_BUILD_TYPE": "Debug",
0129                 "USE_UNITY_CMAKE_SUPPORT": "OFF",
0130                 "BUILD_COVERAGE": "ON" 
0131             },
0132             "inherits": [
0133                 "base"
0134             ]
0135         },
0136         {
0137             "name": "clazy",
0138             "displayName": "clazy",
0139             "cacheVariables": {
0140                 "CMAKE_BUILD_TYPE": "Debug"
0141             },
0142             "environment": {
0143                 "CXX": "clazy",
0144                 "CCACHE_DISABLE": "ON"
0145             },
0146             "inherits": [
0147                 "base"
0148             ]
0149         },
0150         {
0151             "name": "pch",
0152             "displayName": "pch",
0153             "cacheVariables": {
0154                 "CMAKE_BUILD_TYPE": "Debug",
0155                 "USE_PRECOMPILED_HEADERS": "ON",
0156                 "BUILD_COVERAGE": "ON"
0157             },
0158             "inherits": [
0159                 "base"
0160             ]
0161         }
0162     ],
0163     "buildPresets": [
0164         {
0165             "name": "dev",
0166             "configurePreset": "dev"
0167         },
0168         {
0169             "name": "dev-mold",
0170             "configurePreset": "dev-mold"
0171         },
0172         {
0173             "name": "dev-qt6",
0174             "configurePreset": "dev-qt6"
0175         },
0176         {       
0177             "name": "release-qt6",
0178             "configurePreset": "release-qt6"
0179         },
0180         {
0181             "name": "dev-clang",
0182             "configurePreset": "dev-clang"
0183         },
0184         {
0185             "name": "pch",
0186             "configurePreset": "pch"
0187         },
0188         {
0189             "name": "release",
0190             "configurePreset": "release"
0191         },
0192         {
0193             "name": "unity",
0194             "configurePreset": "unity"
0195         },
0196         {
0197             "name": "coverage",
0198             "configurePreset": "coverage"
0199         },
0200         {
0201             "name": "asan",
0202             "configurePreset": "asan"
0203         },
0204         {
0205             "name": "clazy",
0206             "configurePreset": "clazy",
0207             "environment": {
0208                 "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",
0209                 "CCACHE_DISABLE" : "ON"
0210             }
0211         }
0212     ],
0213     "testPresets": [
0214     {
0215       "name": "dev",
0216       "configurePreset": "dev",
0217       "output": {"outputOnFailure": true},
0218       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0219     },
0220     {
0221       "name": "asan",
0222       "configurePreset": "asan",
0223       "output": {"outputOnFailure": true},
0224       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0225     },
0226     {
0227       "name": "unity",
0228       "configurePreset": "unity",
0229       "output": {"outputOnFailure": true},
0230       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0231     },
0232     {
0233       "name": "coverage",
0234       "configurePreset": "coverage",
0235       "output": {"outputOnFailure": true},
0236       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0237     }
0238   ]
0239 }