Warning, /network/krdc/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": "asan",
0016             "displayName": "Build with Asan support.",
0017             "generator": "Ninja",
0018             "binaryDir": "${sourceDir}/build-asan",
0019             "cacheVariables": {
0020                 "CMAKE_BUILD_TYPE": "Debug",
0021                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0022                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0023             }
0024         },
0025         {
0026             "name": "dev-clang",
0027             "displayName": "dev-clang",
0028             "generator": "Ninja",
0029             "binaryDir": "${sourceDir}/build-clang",
0030             "cacheVariables": {
0031                 "CMAKE_BUILD_TYPE": "Debug",
0032                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0033             },
0034             "environment": {
0035                 "CXX": "clang++",
0036                 "CCACHE_DISABLE": "ON"
0037             }
0038         },
0039         {
0040             "name": "unity",
0041             "displayName": "Build with CMake unity support.",
0042             "generator": "Ninja",
0043             "binaryDir": "${sourceDir}/build-unity",
0044             "cacheVariables": {
0045                 "CMAKE_BUILD_TYPE": "Debug",
0046                 "CMAKE_UNITY_BUILD": "ON",
0047                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0048             }
0049         },
0050         {
0051             "name": "release",
0052             "displayName": "Build as release mode.",
0053             "generator": "Ninja",
0054             "binaryDir": "${sourceDir}/build-release",
0055             "cacheVariables": {
0056                 "CMAKE_BUILD_TYPE": "Release"
0057             }
0058         },
0059         {
0060             "name": "profile",
0061             "displayName": "profile",
0062             "generator": "Ninja",
0063             "binaryDir": "${sourceDir}/build-profile",
0064             "cacheVariables": {
0065                 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
0066                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0067             }
0068         },
0069         {
0070             "name": "clazy",
0071             "displayName": "clazy",
0072             "generator": "Ninja",
0073             "binaryDir": "${sourceDir}/build-clazy",
0074             "cacheVariables": {
0075                 "CMAKE_BUILD_TYPE": "Debug"
0076             },
0077             "environment": {
0078                 "CXX": "clazy",
0079                 "CCACHE_DISABLE": "ON"
0080             }
0081         }
0082 
0083     ],
0084     "buildPresets": [
0085         {
0086             "name": "dev",
0087             "configurePreset": "dev"
0088         },
0089         {
0090             "name": "release",
0091             "configurePreset": "release"
0092         },
0093         {
0094             "name": "dev-clang",
0095             "configurePreset": "dev-clang"
0096         },
0097         {
0098             "name": "asan",
0099             "configurePreset": "asan"
0100         },
0101         {
0102             "name": "unity",
0103             "configurePreset": "unity"
0104         },
0105         {
0106             "name": "clazy",
0107             "configurePreset": "clazy",
0108             "environment": {
0109                 "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",
0110                 "CCACHE_DISABLE" : "ON"
0111             }
0112         }
0113     ],
0114     "testPresets": [
0115     { 
0116       "name": "dev",
0117       "configurePreset": "dev",
0118       "output": {"outputOnFailure": true},
0119       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0120     },
0121     { 
0122       "name": "asan",
0123       "configurePreset": "asan",
0124       "output": {"outputOnFailure": true},
0125       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0126     }
0127     ]
0128 }