-
Notifications
You must be signed in to change notification settings - Fork 139
/
CMakePresets.json
45 lines (45 loc) · 1.69 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
{
"version": 6,
"configurePresets": [
{
"name": "base",
"hidden": true,
"description": "Base configuration for a build of BlazingMQ",
"binaryDir": "cmake.bld",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "1",
"CMAKE_BUILD_TYPE": "Debug",
"BDE_BUILD_TARGET_SAFE": true,
"CMAKE_CXX_STANDARD": "17",
"BDE_BUILD_TARGET_CPP17": "17",
"CMAKE_INSTALL_LIBDIR": "lib64"
}
},
{
"name": "macos-arm64-vcpkg",
"description": "VCPKG based configuration for building on arm-based MacOS",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"inherits": "base",
"cacheVariables": {
"VCPKG_INSTALL_OPTIONS": "--allow-unsupported",
"FLEX_INCLUDE_DIR": "/opt/homebrew/opt/flex/include"
}
},
{
"name": "macos-x64-vcpkg",
"description": "VCPKG based configuration for building on x86_64-based MacOS",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"inherits": "base",
"cacheVariables": {
"VCPKG_INSTALL_OPTIONS": "--allow-unsupported",
"FLEX_INCLUDE_DIR": "/usr/local/lib/opt/flex/include"
}
},
{
"name": "linux-x64-vcpkg",
"description": "VCPKG based configuration for building on x86_64-based Linux",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"inherits": "base"
}
]
}