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