Warning, /games/knetwalk/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": "unity",
0027             "displayName": "Build with CMake unity support.",
0028             "generator": "Ninja",
0029             "binaryDir": "${sourceDir}/build-unity",
0030             "cacheVariables": {
0031                 "CMAKE_BUILD_TYPE": "Debug",
0032                 "CMAKE_UNITY_BUILD": "ON",
0033                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0034             }
0035         },
0036         {
0037             "name": "release",
0038             "displayName": "Build as release mode.",
0039             "generator": "Ninja",
0040             "binaryDir": "${sourceDir}/build-release",
0041             "cacheVariables": {
0042                 "CMAKE_BUILD_TYPE": "Release"
0043             }
0044         },
0045         {
0046             "name": "profile",
0047             "displayName": "profile",
0048             "generator": "Ninja",
0049             "binaryDir": "${sourceDir}/build-profile",
0050             "cacheVariables": {
0051                 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
0052                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0053             }
0054         },
0055         {
0056             "name": "clazy",
0057             "displayName": "clazy",
0058             "generator": "Ninja",
0059             "binaryDir": "${sourceDir}/build-clazy",
0060             "cacheVariables": {
0061                 "CMAKE_BUILD_TYPE": "Debug"
0062             },
0063             "environment": {
0064                 "CXX": "clazy",
0065                 "CCACHE_DISABLE": "ON"
0066             }
0067         }
0068     ],
0069     "buildPresets": [
0070         {
0071             "name": "dev",
0072             "configurePreset": "dev"
0073         },
0074         {
0075             "name": "clazy",
0076             "configurePreset": "clazy",
0077             "environment": {
0078                 "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",
0079                 "CCACHE_DISABLE" : "ON"
0080             }
0081         }
0082     ]
0083 }