forked from amphp/ext-uv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
70 lines (70 loc) · 1.81 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
{
"version": 2,
"configurePresets": [
{
"name": "Debug",
"displayName": "Debug",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"ENABLE_SANITIZERS": "ON"
}
},
{
"name": "Release",
"displayName": "Release",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "",
"SANITIZE_UNDEFINED": "OFF",
"SANITIZE_ADDRESS": "OFF"
}
},
{
"name": "RelWithInfo",
"displayName": "RelWithInfo",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithInfo",
"CMAKE_INSTALL_PREFIX": "",
"ENABLE_SANITIZERS": "OFF"
}
},
{
"name": "CI",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithInfo",
"ENABLE_SANITIZERS": "OFF",
"CUSTOM_PHP_CONFIG": "/php/bin/php-config"
}
},
{
"name": "CIDebug",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_SANITIZERS": "ON",
"SANITIZE_LINK_STATIC": "OFF",
"CUSTOM_PHP_CONFIG": "/php/bin/php-config"
}
}
]
}