generated from duckdb/extension-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCMakeUserPresets.json
More file actions
47 lines (47 loc) · 1.42 KB
/
CMakeUserPresets.json
File metadata and controls
47 lines (47 loc) · 1.42 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "extension",
"displayName": "Extension",
"generator": "Ninja",
"binaryDir": "${sourceDir}/../build",
"cacheVariables": {
"EXTENSION_STATIC_BUILD": "1",
"DUCKDB_EXTENSION_CONFIGS": "${sourceDir}/../extension_config.cmake"
}
},
{
"name": "extension_debug",
"displayName": "Extension (Debug build)",
"inherits": ["extension"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "extension_vcpkg_config",
"hidden": true,
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "/$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_MANIFEST_DIR": "${sourceDir}/..",
"VCPKG_BUILD": "1"
}
},
{
"name": "extension_vcpkg",
"displayName": "Extension (using vcpkg)",
"inherits": ["extension", "extension_vcpkg_config"]
},
{
"name": "extension_vcpkg_debug",
"displayName": "Extension (Debug build using vcpkg)",
"inherits": ["extension_debug", "extension_vcpkg_config"]
}
]
}