-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
70 lines (70 loc) · 2 KB
/
CMakePresets.json
File metadata and controls
70 lines (70 loc) · 2 KB
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
{
"version": 3,
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default build - should not be used directly",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "BOOL",
"value": "ON"
},
"UNITY_PLUGIN_API": "$env{UNITY_EDITOR_DATA_PATH}/PluginAPI"
}
},
{
"name": "windows",
"inherits": "default",
"description": "Build for Windows target",
"cacheVariables": {
"SUPPORT_D3D11": "1",
"SUPPORT_VULKAN": "1",
"SUPPORT_OPENGL_CORE": "0",
"SUPPORT_OPENGL_ES": "0",
"GLAD_PATH": "C:/Users/walid/Downloads/glad"
}
},
{
"name": "linux",
"inherits": "default",
"description": "Build for Linux target",
"cacheVariables": {
"SUPPORT_D3D11": "0",
"SUPPORT_VULKAN": "1",
"SUPPORT_OPENGL_CORE": "1",
"SUPPORT_OPENGL_ES": "0"
}
},
{
"name": "android",
"inherits": "default",
"description": "Build for Android target",
"cacheVariables": {
"SUPPORT_D3D11": "0",
"SUPPORT_VULKAN": "1",
"SUPPORT_OPENGL_CORE": "0",
"SUPPORT_OPENGL_ES": "0",
"ANDROID_ABI": null,
"ANDROID_PLATFORM": null,
"ANDROID_STL": null
},
"toolchainFile": "$env{UNITY_EDITOR_DATA_PATH}/PlaybackEngines/AndroidPlayer/NDK/build/cmake/android.toolchain.cmake"
},
{
"name": "magicleap2",
"inherits": "android",
"description": "Build for Magic Leap 2 target (Android x86_64)",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": "$env{UNITY_EDITOR_DATA_PATH}/PlaybackEngines/AndroidPlayer/SDK/cmake/3.22.1/bin/ninja.exe",
"SUPPORT_VULKAN": "1",
"SUPPORT_OPENGL_ES": null,
"ANDROID_ABI": "x86_64",
"ANDROID_PLATFORM": "android-29",
"ANDROID_STL": "c++_shared"
}
}
]
}