The open source OpenXR runtime
1{
2 "version": 3,
3 "cmakeMinimumRequired": {
4 "major": 3,
5 "minor": 21,
6 "patch": 0
7 },
8 "configurePresets": [
9 {
10 "name": "default",
11 "inherits": "service-debug",
12 "displayName": "Default (same as service-debug)"
13 },
14 {
15 "name": ".base-ninja",
16 "generator": "Ninja",
17 "hidden": true,
18 "binaryDir": "${sourceDir}/build"
19 },
20 {
21 "name": "service-debug",
22 "displayName": "Debug service",
23 "inherits": ".base-ninja",
24 "cacheVariables": {
25 "CMAKE_BUILD_TYPE": "Debug",
26 "XRT_FEATURE_SERVICE": "ON"
27 }
28 },
29 {
30 "name": "service-debug-asan",
31 "displayName": "Debug service with sanitizers",
32 "inherits": "service-debug",
33 "cacheVariables": {
34 "SANITIZE_ADDRESS": "ON",
35 "SANITIZE_UNDEFINED": "ON"
36 }
37 },
38 {
39 "name": "inproc-debug",
40 "displayName": "Debug in-process",
41 "inherits": ".base-ninja",
42 "cacheVariables": {
43 "CMAKE_BUILD_TYPE": "Debug",
44 "XRT_FEATURE_SERVICE": "OFF"
45 }
46 },
47 {
48 "name": "service-release",
49 "displayName": "Release service",
50 "inherits": "service-debug",
51 "cacheVariables": {
52 "CMAKE_BUILD_TYPE": "Release",
53 "BUILD_DOC": "ON",
54 "BUILD_DOC_EXTRACT_ALL": "ON"
55 }
56 },
57 {
58 "name": "inproc-release",
59 "displayName": "Release in-process",
60 "inherits": "inproc-debug",
61 "cacheVariables": {
62 "CMAKE_BUILD_TYPE": "Release",
63 "BUILD_DOC": "ON",
64 "BUILD_DOC_EXTRACT_ALL": "ON"
65 }
66 },
67 {
68 "name": "service-relwithdebinfo",
69 "displayName": "RelWithDebInfo service",
70 "inherits": "service-debug",
71 "cacheVariables": {
72 "CMAKE_BUILD_TYPE": "RelWithDebInfo"
73 }
74 },
75 {
76 "name": "inproc-relwithdebinfo",
77 "displayName": "RelWithDebInfo in-process",
78 "inherits": "inproc-debug",
79 "cacheVariables": {
80 "CMAKE_BUILD_TYPE": "RelWithDebInfo"
81 }
82 }
83 ],
84 "buildPresets": [
85 {
86 "name": "default",
87 "displayName": "Build and install",
88 "configurePreset": "default",
89 "targets": "install"
90 }
91 ]
92}