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