-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
80 lines (80 loc) · 2.56 KB
/
Copy pathCMakePresets.json
File metadata and controls
80 lines (80 loc) · 2.56 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "common",
"description": "All builds will inherit from this configuration",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}"
},
{
"name": "mac-native",
"displayName": "macOS - native",
"description": "Build for macOS host architecture",
"inherits": [
"common"
],
"cacheVariables": {
"CMAKE_C_FLAGS": "-Wall -Wextra -pedantic",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -pedantic",
"GIG_PERFORMER_EXTENSIONS_DIRECTORY": "/Users/Shared/Gig Performer/Extensions"
},
"environment": {
"MACOSX_DEPLOYMENT_TARGET": "10.09"
}
},
{
"name": "mac-universal",
"displayName": "macOS - universal (arm64 + x86_64)",
"description": "Build universal binaries for macOS",
"inherits": [
"mac-native"
],
"environment": {
"CMAKE_OSX_ARCHITECTURES": "arm64;x86_64"
}
},
{
"name": "windows-native",
"displayName": "Windows - native",
"description": "Build for Windows host architecture",
"inherits": [
"common"
],
"generator": "Visual Studio 17 2022",
"cacheVariables": {
"CMAKE_C_FLAGS": "/EHsc /MTd /W2 /c ",
"CMAKE_CXX_FLAGS": "/EHsc /MTd /W2 /c",
"GIG_PERFORMER_EXTENSIONS_DIRECTORY": "$env{SystemDrive}\\Users\\Public\\Documents\\Gig Performer\\Extensions"
}
}
],
"buildPresets": [
{
"name": "mac-native",
"displayName": "macOS - native",
"description": "Build for macOS host architecture",
"configuration": "Release",
"configurePreset": "mac-native"
},
{
"name": "mac-universal",
"displayName": "macOS - universal (arm64 + x86_64)",
"description": "Build universal binaries for macOS",
"configuration": "Release",
"configurePreset": "mac-universal"
},
{
"name": "windows-native",
"displayName": "Windows - native",
"description": "Build for Windows host architecture",
"configuration": "Release",
"configurePreset": "windows-native"
}
]
}