-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakePresets.json
133 lines (133 loc) · 3.71 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
{
"version": 8,
"configurePresets": [
{
"name": "windows-clang-debug",
"displayName": "windows-clang-debug",
"generator": "Ninja",
"toolchainFile": "${sourceDir}/cmake/toolchains/windows-clang.cmake",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CPP_DAP_ROOT": "${sourceDir}/../cppdap",
"LUAU_ROOT": "E:/P4/luau",
"CPPDAP_BUILD_EXAMPLES": "ON",
"LUAU_BUILD_TESTS": "OFF",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "windows-clang-release",
"displayName": "windows-clang-release",
"inherits": "windows-clang-debug",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "windows-msvc-debug",
"displayName": "windows-msvc-debug",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CPP_DAP_ROOT": "${sourceDir}/../cppdap",
"LUAU_ROOT": "${sourceDir}/../luau",
"CPPDAP_BUILD_EXAMPLES": "ON",
"LUAU_BUILD_TESTS": "OFF"
}
},
{
"name": "windows-msvc-release",
"displayName": "windows-msvc-release",
"inherits": "windows-msvc-debug",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "linux-clang-debug",
"displayName": "linux-clang-debug",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CPPDAP_BUILD_EXAMPLES": "ON",
"LUAU_BUILD_TESTS": "OFF",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux-clang-release",
"displayName": "linux-clang-release",
"inherits": "linux-clang-debug",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "windows-publish-configure",
"displayName": "publish-configure",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CPPDAP_BUILD_EXAMPLES": "ON",
"LUAU_BUILD_TESTS": "OFF",
"CMAKE_CXX_COMPILER": "clang++.exe",
"CMAKE_C_COMPILER": "clang.exe",
"CMAKE_RC_COMPILER": "llvm-rc.exe",
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
}
],
"buildPresets": [
{
"name": "clang-debug-build",
"displayName": "clang-debug-build",
"configurePreset": "windows-clang-debug",
"configuration": "Debug",
"jobs": 32
},
{
"name": "clang-release-build",
"displayName": "clang-release-build",
"configurePreset": "windows-clang-release",
"configuration": "RelWithDebInfo",
"jobs": 32
},
{
"name": "msvc-debug-build",
"displayName": "msvc-debug-build",
"configurePreset": "windows-msvc-debug",
"configuration": "Debug",
"jobs": 32
},
{
"name": "msvc-release-build",
"displayName": "msvc-release-build",
"configurePreset": "windows-msvc-release",
"configuration": "RelWithDebInfo",
"jobs": 32
},
{
"name": "linux-clang-debug-build",
"displayName": "linux-clang-debug-build",
"configurePreset": "linux-clang-debug",
"configuration": "Debug",
"jobs": 32
},
{
"name": "linux-clang-release-build",
"displayName": "linux-clang-release-build",
"configurePreset": "linux-clang-release",
"configuration": "RelWithDebInfo",
"jobs": 32
},
{
"name": "windows-publish-build",
"displayName": "windows-publish-build",
"configurePreset": "windows-publish-configure",
"configuration": "RelWithDebInfo",
"jobs": 32
}
]
}