-
-
Notifications
You must be signed in to change notification settings - Fork 163
/
CMakePresets.json
44 lines (44 loc) · 1.64 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
{
"version": 2,
"configurePresets": [
{
"name": "default",
"displayName": "Default OpenGL host build",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"ENABLE_OPENGL": true,
"BUILD_GSTREAMER_AUDIO_PLAYER_PLUGIN": true,
"BUILD_SENTRY_PLUGIN": true,
"ENABLE_TESTS": true
}
},
{
"name": "cross-aarch64-default",
"displayName": "OpenGL AArch64 cross-build",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"inherits": "default",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_C_COMPILER_TARGET": "aarch64-linux-gnu"
}
},
{
"name": "cross-armhf-default",
"displayName": "OpenGL armhf cross-build",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"inherits": "default",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_C_COMPILER_TARGET": "arm-linux-gnueabihf"
}
}
]
}