-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCMakePresets.json
More file actions
132 lines (132 loc) · 3.51 KB
/
Copy pathCMakePresets.json
File metadata and controls
132 lines (132 loc) · 3.51 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
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "macos",
"displayName": "macOS",
"description": "Native desktop build for macOS. Compile commands exported for clangd.",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build_vscode",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"AE_LEAN_AND_MEAN": "OFF",
"AE_LOADERS_OFBX": "ON",
"AE_DEPRECATED": "ON"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "ios",
"displayName": "iOS",
"description": "iOS device build using ios-cmake toolchain. Per-developer values (team ID, device UDID) live in scripts/config.env (gitignored, copy from scripts/config.env.example). Configure via scripts/ios_configure.py, which injects AE_APPLE_DEVELOPMENT_TEAM from config.env so it is baked into the generated Xcode project. Xcode handles provisioning via -allowProvisioningUpdates.",
"generator": "Xcode",
"binaryDir": "${sourceDir}/build_ios",
"toolchainFile": "${sourceDir}/scripts/ios.toolchain.cmake",
"cacheVariables": {
"PLATFORM": "OS64",
"DEPLOYMENT_TARGET": "15.0",
"ENABLE_BITCODE": "OFF",
"ENABLE_ARC": "ON",
"AE_LEAN_AND_MEAN": "OFF",
"AE_LOADERS_OFBX": "ON",
"AE_DEPRECATED": "ON"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "emscripten",
"displayName": "Emscripten",
"description": "Web build via Emscripten. Requires EMSDK env var in the shell (typically sourced from emsdk_env.sh in your .zprofile/.zshrc).",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build_em",
"toolchainFile": "$env{EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"AE_LEAN_AND_MEAN": "OFF",
"AE_LOADERS_OFBX": "ON",
"AE_DEPRECATED": "ON"
}
}
],
"buildPresets": [
{
"name": "macos-debug",
"displayName": "Debug",
"configurePreset": "macos",
"configuration": "Debug"
},
{
"name": "ios-debug",
"displayName": "Debug",
"configurePreset": "ios",
"configuration": "Debug",
"nativeToolOptions": [
"-allowProvisioningUpdates",
"-destination", "generic/platform=iOS"
]
},
{
"name": "emscripten-debug",
"displayName": "Debug",
"configurePreset": "emscripten",
"configuration": "Debug"
},
{
"name": "macos-relwithdebinfo",
"displayName": "RelWithDebInfo",
"configurePreset": "macos",
"configuration": "RelWithDebInfo"
},
{
"name": "ios-relwithdebinfo",
"displayName": "RelWithDebInfo",
"configurePreset": "ios",
"configuration": "RelWithDebInfo",
"nativeToolOptions": [
"-allowProvisioningUpdates",
"-destination", "generic/platform=iOS"
]
},
{
"name": "emscripten-relwithdebinfo",
"displayName": "RelWithDebInfo",
"configurePreset": "emscripten",
"configuration": "RelWithDebInfo"
},
{
"name": "macos-release",
"displayName": "Release",
"configurePreset": "macos",
"configuration": "Release"
},
{
"name": "ios-release",
"displayName": "Release",
"configurePreset": "ios",
"configuration": "Release",
"nativeToolOptions": [
"-allowProvisioningUpdates",
"-destination", "generic/platform=iOS"
]
},
{
"name": "emscripten-release",
"displayName": "Release",
"configurePreset": "emscripten",
"configuration": "Release"
}
]
}