-
Notifications
You must be signed in to change notification settings - Fork 10
/
CMakePresets.json
234 lines (234 loc) · 9.69 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
{
"version": 4,
"cmakeMinimumRequired":
{
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets":
[
{
"name": "nexys_rrxif",
"hidden": true,
"description": "Configuration for the Nexys rrxif",
"cacheVariables":
{
"RRX_CORE_TMU_COUNT": "2",
"RRX_CORE_MAX_TEXTURE_SIZE": "256",
"RRX_CORE_ENABLE_MIPMAPPING": "true",
"RRX_CORE_MAX_DISPLAY_WIDTH": "1024",
"RRX_CORE_MAX_DISPLAY_HEIGHT": "600",
"RRX_CORE_FRAMEBUFFER_SIZE_IN_WORDS": "131072",
"RRX_CORE_USE_FLOAT_INTERPOLATION": "false",
"RRX_CORE_NUMBER_OF_TEXTURE_PAGES": "7680",
"RRX_CORE_NUMBER_OF_TEXTURES": "7680",
"RRX_CORE_TEXTURE_PAGE_SIZE": "4096",
"RRX_CORE_GRAM_MEMORY_LOC": "0",
"RRX_CORE_FRAMEBUFFER_TYPE": "FramebufferType::INTERNAL_TO_MEMORY",
"RRX_CORE_COLOR_BUFFER_LOC_1": "0x01E00000",
"RRX_CORE_COLOR_BUFFER_LOC_2": "0x01E00000",
"RRX_CORE_DEPTH_BUFFER_LOC": "0",
"RRX_CORE_STENCIL_BUFFER_LOC": "0"
}
},
{
"name": "nexys_rrxef",
"hidden": true,
"description": "Configuration for the Nexys rrxef",
"cacheVariables":
{
"RRX_CORE_TMU_COUNT": "2",
"RRX_CORE_MAX_TEXTURE_SIZE": "256",
"RRX_CORE_ENABLE_MIPMAPPING": "true",
"RRX_CORE_MAX_DISPLAY_WIDTH": "1024",
"RRX_CORE_MAX_DISPLAY_HEIGHT": "600",
"RRX_CORE_FRAMEBUFFER_SIZE_IN_WORDS": "614400",
"RRX_CORE_USE_FLOAT_INTERPOLATION": "false",
"RRX_CORE_NUMBER_OF_TEXTURE_PAGES": "6400",
"RRX_CORE_NUMBER_OF_TEXTURES": "6400",
"RRX_CORE_TEXTURE_PAGE_SIZE": "4096",
"RRX_CORE_GRAM_MEMORY_LOC": "0",
"RRX_CORE_FRAMEBUFFER_TYPE": "FramebufferType::EXTERNAL_MEMORY_DOUBLE_BUFFER",
"RRX_CORE_COLOR_BUFFER_LOC_1": "0x01E00000",
"RRX_CORE_COLOR_BUFFER_LOC_2": "0x01C00000",
"RRX_CORE_DEPTH_BUFFER_LOC": "0x01A00000",
"RRX_CORE_STENCIL_BUFFER_LOC": "0x01900000"
}
},
{
"name": "zynq_rrxif",
"hidden": true,
"description": "Configuration for the Zynq rrxif",
"cacheVariables":
{
"RRX_CORE_TMU_COUNT": "1",
"RRX_CORE_MAX_TEXTURE_SIZE": "256",
"RRX_CORE_ENABLE_MIPMAPPING": "true",
"RRX_CORE_MAX_DISPLAY_WIDTH": "1024",
"RRX_CORE_MAX_DISPLAY_HEIGHT": "600",
"RRX_CORE_FRAMEBUFFER_SIZE_IN_WORDS": "65536",
"RRX_CORE_USE_FLOAT_INTERPOLATION": "false",
"RRX_CORE_NUMBER_OF_TEXTURE_PAGES": "7280",
"RRX_CORE_NUMBER_OF_TEXTURES": "7280",
"RRX_CORE_TEXTURE_PAGE_SIZE": "4096",
"RRX_CORE_GRAM_MEMORY_LOC": "0x0E000000",
"RRX_CORE_FRAMEBUFFER_TYPE": "FramebufferType::INTERNAL_TO_MEMORY",
"RRX_CORE_COLOR_BUFFER_LOC_1": "0x01E00000",
"RRX_CORE_COLOR_BUFFER_LOC_2": "0x01C00000",
"RRX_CORE_DEPTH_BUFFER_LOC": "0",
"RRX_CORE_STENCIL_BUFFER_LOC": "0"
}
},
{
"name": "zynq_rrxef",
"hidden": true,
"description": "Configuration for the Zynq rrxef",
"cacheVariables":
{
"RRX_CORE_TMU_COUNT": "2",
"RRX_CORE_MAX_TEXTURE_SIZE": "256",
"RRX_CORE_ENABLE_MIPMAPPING": "true",
"RRX_CORE_MAX_DISPLAY_WIDTH": "1024",
"RRX_CORE_MAX_DISPLAY_HEIGHT": "600",
"RRX_CORE_FRAMEBUFFER_SIZE_IN_WORDS": "614400",
"RRX_CORE_USE_FLOAT_INTERPOLATION": "false",
"RRX_CORE_NUMBER_OF_TEXTURE_PAGES": "6912",
"RRX_CORE_NUMBER_OF_TEXTURES": "6912",
"RRX_CORE_TEXTURE_PAGE_SIZE": "4096",
"RRX_CORE_GRAM_MEMORY_LOC": "0x0E000000",
"RRX_CORE_FRAMEBUFFER_TYPE": "FramebufferType::EXTERNAL_MEMORY_DOUBLE_BUFFER",
"RRX_CORE_COLOR_BUFFER_LOC_1": "0x01E00000",
"RRX_CORE_COLOR_BUFFER_LOC_2": "0x01C00000",
"RRX_CORE_DEPTH_BUFFER_LOC": "0x01A00000",
"RRX_CORE_STENCIL_BUFFER_LOC": "0x01900000"
}
},
{
"name": "cmod7_rrxef",
"hidden": true,
"description": "Configuration for the cmod 7 rrxef",
"cacheVariables":
{
"RRX_CORE_TMU_COUNT": "1",
"RRX_CORE_MAX_TEXTURE_SIZE": "128",
"RRX_CORE_ENABLE_MIPMAPPING": "true",
"RRX_CORE_MAX_DISPLAY_WIDTH": "320",
"RRX_CORE_MAX_DISPLAY_HEIGHT": "240",
"RRX_CORE_FRAMEBUFFER_SIZE_IN_WORDS": "76800",
"RRX_CORE_USE_FLOAT_INTERPOLATION": "false",
"RRX_CORE_NUMBER_OF_TEXTURE_PAGES": "68",
"RRX_CORE_NUMBER_OF_TEXTURES": "68",
"RRX_CORE_TEXTURE_PAGE_SIZE": "2048",
"RRX_CORE_GRAM_MEMORY_LOC": "0x0",
"RRX_CORE_FRAMEBUFFER_TYPE": "FramebufferType::EXTERNAL_MEMORY_TO_STREAM",
"RRX_CORE_COLOR_BUFFER_LOC_1": "0x35000",
"RRX_CORE_COLOR_BUFFER_LOC_2": "0x35000",
"RRX_CORE_DEPTH_BUFFER_LOC": "0x5A800",
"RRX_CORE_STENCIL_BUFFER_LOC": "0x22400"
}
},
{
"name": "native",
"displayName": "Native build",
"description": "Native build to be used on a desktop computer",
"binaryDir": "${sourceDir}/build/native",
"generator": "Unix Makefiles",
"cacheVariables":
{
"RRX_BUILD_NATIVE": "ON",
"RRX_ENABLE_SPDLOG": "ON",
"RRX_DRIVER_FT60X": "ON",
"RRX_BUILD_EXAMPLES": "ON"
}
},
{
"name": "native_rrxif",
"displayName": "Native build",
"description": "Native build to be used on a desktop computer. It uses the nexys rrxif build.",
"inherits": ["native", "nexys_rrxif"]
},
{
"name": "native_rrxef",
"displayName": "Native build",
"description": "Native build to be used on a desktop computer. It uses the nexys rrxef build.",
"inherits": ["native", "nexys_rrxef"]
},
{
"name": "win32",
"displayName": "Win32 build",
"description": "Native native build for Windows resulting in a 32bit wgl dll",
"binaryDir": "${sourceDir}/build/win32",
"generator": "Visual Studio 16 2019",
"cacheVariables":
{
"RRX_BUILD_NATIVE": "ON",
"RRX_ENABLE_SPDLOG": "ON",
"RRX_DRIVER_FT60X": "ON",
"RRX_BUILD_EXAMPLES": "ON",
"RRX_BUILD_SHARED_LIBRARY": "ON"
},
"architecture": "Win32"
},
{
"name": "win32_rrxif",
"displayName": "Win32 build",
"description": "Native native build for Windows resulting in a 32bit wgl dll. It uses the nexys rrxif build.",
"inherits": ["win32", "nexys_rrxif"]
},
{
"name": "win32_rrxef",
"displayName": "Win32 build",
"description": "Native native build for Windows resulting in a 32bit wgl dll. It uses the nexys rrxef build.",
"inherits": ["win32", "nexys_rrxef"]
},
{
"name": "rppico",
"displayName": "rppico build",
"description": "rppico build to be used for the Raspberry Pi Pico",
"binaryDir": "${sourceDir}/build/rppico",
"generator": "Unix Makefiles",
"inherits": "cmod7_rrxef",
"cacheVariables":
{
"PICO_SDK_FETCH_FROM_GIT": "ON",
"RRX_BUILD_RPPICO": "ON",
"RRX_BUILD_EXAMPLES": "ON"
}
},
{
"name": "zynq_embedded_linux",
"displayName": "Zynq embedded linux build",
"description": "Build for an zynq embedded linux device",
"binaryDir": "${sourceDir}/build/zynq",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"RRX_BUILD_ZYNQ_EMBEDDED_LINUX" : "ON",
"RRX_ENABLE_SPDLOG": "ON",
"RRX_DRIVER_DMA_PROXY": "ON",
"CMAKE_TOOLCHAIN_FILE": "toolchains/toolchain_zynq.cmake"
}
},
{
"name": "zynq_embedded_linux_rrxif",
"displayName": "Zynq embedded linux build for the rrxif",
"description": "Build for an zynq embedded linux device for the rrxif",
"inherits": [ "zynq_embedded_linux", "zynq_rrxif"],
"cacheVariables": {
"RRX_BUILD_EXAMPLES": "ON",
"RRX_BUILD_SHARED_LIBRARY": "ON"
}
},
{
"name": "zynq_embedded_linux_rrxef",
"displayName": "Zynq embedded linux build for the rrxef",
"description": "Build for an zynq embedded linux device for the rrxef",
"inherits": [ "zynq_embedded_linux", "zynq_rrxef"],
"cacheVariables": {
"RRX_BUILD_EXAMPLES": "ON",
"RRX_BUILD_SHARED_LIBRARY": "ON"
}
}
]
}