Warning, /frameworks/kuserfeedback/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": "dev-mold-qt6",
0070             "displayName": "Build as debug + using mold linker",
0071             "cacheVariables": {
0072                 "CMAKE_BUILD_TYPE": "Debug",
0073                 "BUILD_WITH_QT6": "ON",
0074                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0075                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold"
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": "asan-qt6",
0094             "displayName": "Build with Asan support (qt6).",
0095             "cacheVariables": {
0096                 "CMAKE_BUILD_TYPE": "Debug",
0097                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0098                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold",
0099                 "BUILD_WITH_QT6": "ON"
0100             },  
0101             "inherits": [
0102                 "base-qt6"
0103             ]
0104         }, 
0105         {
0106             "name": "dev-clang-qt6-asan",
0107             "displayName": "dev-clang-qt6-asan",
0108             "cacheVariables": {
0109                 "CMAKE_BUILD_TYPE": "Debug",
0110                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0111                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0112                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold",
0113                 "BUILD_WITH_QT6": "ON" 
0114             },
0115             "environment": {
0116                 "CXX": "clang++",
0117                 "CCACHE_DISABLE": "ON"
0118             },
0119             "inherits": [
0120                 "base-qt6"
0121             ]
0122         },
0123         {
0124             "name": "dev-clang",
0125             "displayName": "dev-clang",
0126             "cacheVariables": {
0127                 "CMAKE_BUILD_TYPE": "Debug",
0128                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0129             },
0130             "environment": {
0131                 "CXX": "clang++",
0132                 "CCACHE_DISABLE": "ON"
0133             },
0134             "inherits": [
0135                 "base"
0136             ]
0137         },
0138         {
0139             "name": "unity",
0140             "displayName": "Build with CMake unity support.",
0141             "cacheVariables": {
0142                 "CMAKE_BUILD_TYPE": "Debug",
0143                 "USE_UNITY_CMAKE_SUPPORT": "ON"
0144             },
0145             "inherits": [
0146                 "base"
0147             ]
0148         },
0149         {
0150             "name": "release",
0151             "displayName": "Build as release mode.",
0152             "cacheVariables": {
0153                 "CMAKE_BUILD_TYPE": "Release",
0154                 "BUILD_TESTING": "OFF"
0155             },
0156             "inherits": [
0157                 "base"
0158             ]
0159         },
0160         {
0161             "name": "profile",
0162             "displayName": "profile",
0163             "cacheVariables": {
0164                 "CMAKE_BUILD_TYPE": "RelWithDebInfo"
0165             },
0166             "inherits": [
0167                 "base"
0168             ]
0169         },
0170         {
0171             "name": "coverage",
0172             "displayName": "coverage",
0173             "cacheVariables": {
0174                 "CMAKE_BUILD_TYPE": "Debug",
0175                 "USE_UNITY_CMAKE_SUPPORT": "OFF",
0176                 "BUILD_COVERAGE": "ON" 
0177             },
0178             "inherits": [
0179                 "base"
0180             ]
0181         },
0182         {
0183             "name": "clazy",
0184             "displayName": "clazy",
0185             "cacheVariables": {
0186                 "CMAKE_BUILD_TYPE": "Debug"
0187             },
0188             "environment": {
0189                 "CXX": "clazy",
0190                 "CCACHE_DISABLE": "ON"
0191             },
0192             "inherits": [
0193                 "base"
0194             ]
0195         },
0196         {
0197             "name": "pch",
0198             "displayName": "pch",
0199             "cacheVariables": {
0200                 "CMAKE_BUILD_TYPE": "Debug",
0201                 "USE_PRECOMPILED_HEADERS": "ON",
0202                 "BUILD_COVERAGE": "ON"
0203             },
0204             "inherits": [
0205                 "base"
0206             ]
0207         }
0208     ],
0209     "buildPresets": [
0210         {
0211             "name": "dev",
0212             "configurePreset": "dev"
0213         },
0214         {
0215             "name": "dev-clang-qt6-asan",
0216             "configurePreset": "dev-clang-qt6-asan"
0217         },
0218 
0219         {
0220             "name": "dev-mold",
0221             "configurePreset": "dev-mold"
0222         },
0223         {   
0224             "name": "dev-mold-qt6",
0225             "configurePreset": "dev-mold-qt6"
0226         },
0227         {
0228             "name": "dev-qt6",
0229             "configurePreset": "dev-qt6"
0230         },
0231         {       
0232             "name": "release-qt6",
0233             "configurePreset": "release-qt6"
0234         },
0235         {
0236             "name": "dev-clang",
0237             "configurePreset": "dev-clang"
0238         },
0239         {
0240             "name": "pch",
0241             "configurePreset": "pch"
0242         },
0243         {
0244             "name": "release",
0245             "configurePreset": "release"
0246         },
0247         {
0248             "name": "unity",
0249             "configurePreset": "unity"
0250         },
0251         {
0252             "name": "coverage",
0253             "configurePreset": "coverage"
0254         },
0255         {
0256             "name": "asan",
0257             "configurePreset": "asan"
0258         },
0259         {   
0260             "name": "asan-qt6",
0261             "configurePreset": "asan-qt6"
0262         },      
0263         {
0264             "name": "clazy",
0265             "configurePreset": "clazy",
0266             "environment": {
0267                 "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",
0268                 "CCACHE_DISABLE" : "ON"
0269             }
0270         }
0271     ],
0272     "testPresets": [
0273     {
0274       "name": "dev",
0275       "configurePreset": "dev",
0276       "output": {"outputOnFailure": true},
0277       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0278     },
0279     {
0280       "name": "asan",
0281       "configurePreset": "asan",
0282       "output": {"outputOnFailure": true},
0283       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0284     },
0285     {
0286       "name": "unity",
0287       "configurePreset": "unity",
0288       "output": {"outputOnFailure": true},
0289       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0290     },
0291     {
0292       "name": "coverage",
0293       "configurePreset": "coverage",
0294       "output": {"outputOnFailure": true},
0295       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0296     }
0297   ]
0298 }