Warning, /plasma/kmenuedit/CMakePresets.json is written in an unsupported language. File is not indexed.

0001 {
0002     "version": 2,
0003     "configurePresets": [
0004         {
0005             "name": "dev",
0006             "displayName": "Build as debug",
0007             "generator": "Ninja",
0008             "binaryDir": "${sourceDir}/build",
0009             "cacheVariables": {
0010                 "CMAKE_BUILD_TYPE": "Debug",
0011                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0012             }
0013         },
0014         {
0015             "name": "dev-disable-deprecated",
0016             "displayName": "Build as without deprecated methods",
0017             "generator": "Ninja",
0018             "binaryDir": "${sourceDir}/build-disable-deprecated",
0019             "cacheVariables": {
0020                 "CMAKE_BUILD_TYPE": "Debug",
0021                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0022                 "CMAKE_CXX_FLAGS_INIT": "-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000"
0023             }
0024         },
0025         {
0026             "name": "asan",
0027             "displayName": "Build with Asan support.",
0028             "generator": "Ninja",
0029             "binaryDir": "${sourceDir}/build-asan",
0030             "cacheVariables": {
0031                 "CMAKE_BUILD_TYPE": "Debug",
0032                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0033                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0034             }
0035         },
0036         {
0037             "name": "unity",
0038             "displayName": "Build with CMake unity support.",
0039             "generator": "Ninja",
0040             "binaryDir": "${sourceDir}/build-unity",
0041             "cacheVariables": {
0042                 "CMAKE_BUILD_TYPE": "Debug",
0043                 "CMAKE_UNITY_BUILD": "ON",
0044                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0045             }
0046         },
0047         {
0048             "name": "release",
0049             "displayName": "Build as release mode.",
0050             "generator": "Ninja",
0051             "binaryDir": "${sourceDir}/build-release",
0052             "cacheVariables": {
0053                 "CMAKE_BUILD_TYPE": "Release"
0054             }
0055         },
0056         {
0057             "name": "profile",
0058             "displayName": "profile",
0059             "generator": "Ninja",
0060             "binaryDir": "${sourceDir}/build-profile",
0061             "cacheVariables": {
0062                 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
0063                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0064             }
0065         },
0066         {
0067             "name": "clazy",
0068             "displayName": "clazy",
0069             "generator": "Ninja",
0070             "binaryDir": "${sourceDir}/build-clazy",
0071             "cacheVariables": {
0072                 "CMAKE_BUILD_TYPE": "Debug"
0073             },
0074             "environment": {
0075                 "CXX": "clazy",
0076                 "CCACHE_DISABLE": "ON"
0077             }
0078         }
0079     ],
0080     "buildPresets": [
0081         {
0082             "name": "dev",
0083             "configurePreset": "dev"
0084         },
0085         {
0086             "name": "asan",
0087             "configurePreset": "asan"
0088         },
0089         {
0090             "name": "dev-disable-deprecated",
0091             "configurePreset": "dev-disable-deprecated"
0092         },
0093         {
0094             "name": "unity",
0095             "configurePreset": "unity"
0096         },
0097         {
0098             "name": "clazy",
0099             "configurePreset": "clazy",
0100             "environment": {
0101                 "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",
0102                 "CCACHE_DISABLE" : "ON"
0103             }
0104         }
0105     ]
0106 }