-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathCMakePresets.json
More file actions
87 lines (87 loc) · 2.58 KB
/
Copy pathCMakePresets.json
File metadata and controls
87 lines (87 loc) · 2.58 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
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
{
"version": 3,
"cmakeMinimumRequired": { "major": 3, "minor": 21, "patch": 0 },
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_POLICY_VERSION_MINIMUM": "3.5",
"BALL_PYTHON_SUPPORT": "OFF",
"USE_RTFACT": "OFF",
"BALL_HAS_VIEW": "ON"
}
},
{
"name": "macos-homebrew",
"displayName": "macOS / Homebrew",
"inherits": "base",
"cacheVariables": {
"CMAKE_PREFIX_PATH": "/opt/homebrew/opt/qt;/opt/homebrew",
"BISON_EXECUTABLE": "/opt/homebrew/opt/bison/bin/bison",
"FLEX_EXECUTABLE": "/opt/homebrew/opt/flex/bin/flex"
}
},
{
"name": "linux-system",
"displayName": "Linux / system packages",
"inherits": "base",
"cacheVariables": {
"BISON_EXECUTABLE": "/usr/bin/bison",
"FLEX_EXECUTABLE": "/usr/bin/flex",
"USE_LPSOLVE": "OFF"
}
},
{
"name": "windows-vcpkg",
"displayName": "Windows / vcpkg",
"inherits": "base",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-release",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/vcpkg-triplets",
"USE_LPSOLVE": "OFF",
"BALL_HAS_OPENBABEL": "OFF"
}
},
{
"name": "ci-macos",
"inherits": "macos-homebrew",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"BALL_HAS_OPENBABEL": "ON"
}
},
{
"name": "ci-linux",
"inherits": "linux-system",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"BALL_HAS_OPENBABEL": "ON"
}
},
{
"name": "ci-windows",
"inherits": "windows-vcpkg",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache"
}
}
],
"buildPresets": [
{ "name": "macos-homebrew", "configurePreset": "macos-homebrew" },
{ "name": "linux-system", "configurePreset": "linux-system" },
{ "name": "windows-vcpkg", "configurePreset": "windows-vcpkg" },
{ "name": "ci-macos", "configurePreset": "ci-macos" },
{ "name": "ci-linux", "configurePreset": "ci-linux" },
{ "name": "ci-windows", "configurePreset": "ci-windows" }
]
}