Warning, /games/knights/CMakePresets.json is written in an unsupported language. File is not indexed.

0001 {
0002     "version": 1,
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": "release",
0027             "displayName": "Build as release mode.",
0028             "generator": "Ninja",
0029             "binaryDir": "${sourceDir}/build-release",
0030             "cacheVariables": {
0031                 "CMAKE_BUILD_TYPE": "Release"
0032             }
0033         },
0034         {
0035             "name": "profile",
0036             "displayName": "profile",
0037             "generator": "Ninja",
0038             "binaryDir": "${sourceDir}/build-profile",
0039             "cacheVariables": {
0040                 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
0041                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0042             }
0043         }
0044     ]
0045 }