Echo Writes Code

CMakePresets.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "version": 4,
  "cmakeMinimumRequired": {
    "major": 3,
    "minor": 23
  },
  "configurePresets": [
    {
      "name": "development",
      "displayName": "Development",
      "description": "Developer-friendly build with most optimizations turned off and runtime sanitizers enabled",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": {
          "type": "STRING",
          "value": "Debug"
        },
        "CRUCIBLE_ENABLE_ADDRESS_SANITIZER": {
          "type": "BOOL",
          "value": "ON"
        },
        "CRUCIBLE_ENABLE_UNDEFINED_BEHAVIOR_SANITIZER": {
          "type": "BOOL",
          "value": "ON"
        }
      }
    },
    {
      "name": "release",
      "displayName": "Release",
      "description": "Optimized build suitable for distribution",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": {
          "type": "STRING",
          "value": "RelWithDebInfo"
        }
      }
    }
  ]
}