forked from he4rt/scylladb-php-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
79 lines (79 loc) · 2.46 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
{
"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}",
"PHP_SCYLLADB_LIBUV_STATIC": "ON",
"PHP_SCYLLADB_LIBSCYLLADB_STATIC": "ON",
"CASS_CPP_STANDARD": "17",
"CASS_USE_STATIC_LIBS": "ON",
"PHP_SCYLLADB_ENABLE_SANITIZERS": "ON",
"SANITIZE_UNDEFINED": "ON",
"SANITIZE_ADDRESS": "ON"
}
},
{
"name": "Release",
"displayName": "Release",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"PHP_SCYLLADB_LIBUV_STATIC": "ON",
"PHP_SCYLLADB_LIBSCYLLADB_STATIC": "ON",
"CASS_CPP_STANDARD": "17",
"CASS_USE_STATIC_LIBS": "ON"
}
},
{
"name": "RelWithInfo",
"displayName": "RelWithInfo",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithInfo",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"PHP_SCYLLADB_LIBUV_STATIC": "ON",
"PHP_SCYLLADB_LIBSCYLLADB_STATIC": "ON",
"PHP_SCYLLADB_ENABLE_SANITIZERS": "ON",
"CASS_CPP_STANDARD": "17",
"CASS_USE_STATIC_LIBS": "ON",
"SANITIZE_UNDEFINED": "ON",
"SANITIZE_ADDRESS": "ON"
}
},
{
"name": "CI",
"displayName": "GithubActions CI",
"description": "",
"generator": "Ninja",
"environment": {},
"binaryDir": "${sourceDir}/out/${presetName}",
"cacheVariables": {
"CUSTOM_PHP_CONFIG": "/root/php/bin/php-config",
"CMAKE_BUILD_TYPE": "RelWithInfo",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"PHP_SCYLLADB_LIBUV_STATIC": "ON",
"PHP_SCYLLADB_LIBSCYLLADB_STATIC": "ON",
"PHP_SCYLLADB_ENABLE_SANITIZERS": "ON",
"CASS_CPP_STANDARD": "17",
"CASS_USE_STATIC_LIBS": "ON",
"SANITIZE_UNDEFINED": "ON",
"SANITIZE_ADDRESS": "ON"
}
}
]
}