You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Debug or Release with compile-commands for tooling. AVX2/native tuning is applied per dev target (see examples/ and tests/, which pick /arch:AVX2 for MSVC and -march=native otherwise), so this preset is correct for MSVC, GCC, Clang and MinGW on any OS.",
16
-
"binaryDir": "${sourceDir}/build/${presetName}",
17
-
"cacheVariables": {
18
-
"CMAKE_BUILD_TYPE": "Release",
19
-
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
20
-
}
21
-
},
22
-
{
23
-
"name": "ci",
24
-
"inherits": "base",
25
-
"displayName": "CI build (MSVC/default)",
26
-
"description": "Release build without machine-specific tuning",
27
-
"binaryDir": "${sourceDir}/build/${presetName}",
28
-
"cacheVariables": {
29
-
"CMAKE_BUILD_TYPE": "Release",
30
-
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
31
-
}
32
-
},
33
-
{
34
-
"name": "ci-gcc",
35
-
"inherits": "ci",
36
-
"displayName": "CI build (GCC)",
37
-
"binaryDir": "${sourceDir}/build/${presetName}",
38
-
"cacheVariables": {
39
-
"CMAKE_C_COMPILER": "gcc",
40
-
"CMAKE_CXX_COMPILER": "g++"
41
-
}
42
-
},
43
-
{
44
-
"name": "ci-clang",
45
-
"inherits": "ci",
46
-
"displayName": "CI build (Clang)",
47
-
"binaryDir": "${sourceDir}/build/${presetName}",
48
-
"cacheVariables": {
49
-
"CMAKE_C_COMPILER": "clang",
50
-
"CMAKE_CXX_COMPILER": "clang++"
51
-
}
52
-
},
53
-
{
54
-
"name": "ci-float",
55
-
"inherits": "ci",
56
-
"displayName": "CI build (float / native SQP)",
57
-
"description": "Single-precision build: blast::real = float, which requires the in-house SQP solver (external NLopt is double-only).",
58
-
"binaryDir": "${sourceDir}/build/${presetName}",
59
-
"cacheVariables": {
60
-
"BLAST_USE_DOUBLES": "OFF",
61
-
"BLAST_USE_NATIVE_SQP": "ON"
62
-
}
63
-
}
64
-
],
65
-
"buildPresets": [
66
-
{
67
-
"name": "dev-Debug",
68
-
"configurePreset": "dev",
69
-
"configuration": "Debug"
70
-
},
71
-
{"name": "dev-Release",
72
-
"configurePreset": "dev",
73
-
"configuration": "Release"
74
-
},
75
-
{
76
-
"name": "ci",
77
-
"configurePreset": "ci",
78
-
"configuration": "Release"
79
-
},
80
-
{
81
-
"name": "ci-gcc",
82
-
"configurePreset": "ci-gcc",
83
-
"configuration": "Release"
84
-
},
85
-
{
86
-
"name": "ci-clang",
87
-
"configurePreset": "ci-clang",
88
-
"configuration": "Release"
89
-
},
90
-
{
91
-
"name": "ci-float",
92
-
"configurePreset": "ci-float",
93
-
"configuration": "Release"
94
-
}
95
-
],
96
-
"testPresets": [
97
-
{
98
-
"name": "ci",
99
-
"configurePreset": "ci",
100
-
"configuration": "Release",
101
-
"output": {
102
-
"outputOnFailure": true
103
-
}
104
-
},
105
-
{
106
-
"name": "ci-gcc",
107
-
"configurePreset": "ci-gcc",
108
-
"configuration": "Release",
109
-
"output": {
110
-
"outputOnFailure": true
111
-
}
112
-
},
113
-
{
114
-
"name": "ci-clang",
115
-
"configurePreset": "ci-clang",
116
-
"configuration": "Release",
117
-
"output": {
118
-
"outputOnFailure": true
119
-
}
120
-
},
121
-
{
122
-
"name": "ci-float",
123
-
"configurePreset": "ci-float",
124
-
"configuration": "Release",
125
-
"output": {
126
-
"outputOnFailure": true
127
-
}
128
-
}
129
-
]
130
-
}
2
+
"version": 6,
3
+
"configurePresets": [
4
+
{
5
+
"name": "base",
6
+
"hidden": true,
7
+
"cacheVariables": {
8
+
"BUILD_SHARED_LIBS": "OFF"
9
+
}
10
+
},
11
+
{
12
+
"name": "dev",
13
+
"inherits": "base",
14
+
"displayName": "Developer build",
15
+
"description": "Debug or Release with compile-commands for tooling. AVX2/native tuning is applied per dev target (see examples/ and tests/, which pick /arch:AVX2 for MSVC and -march=native otherwise), so this preset is correct for MSVC, GCC, Clang and MinGW on any OS.",
16
+
"binaryDir": "${sourceDir}/build/${presetName}",
17
+
"cacheVariables": {
18
+
"CMAKE_BUILD_TYPE": "Release",
19
+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
20
+
}
21
+
},
22
+
{
23
+
"name": "ci",
24
+
"inherits": "base",
25
+
"displayName": "CI build (MSVC/default)",
26
+
"description": "Release build without machine-specific tuning",
27
+
"binaryDir": "${sourceDir}/build/${presetName}",
28
+
"cacheVariables": {
29
+
"CMAKE_BUILD_TYPE": "Release",
30
+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
31
+
}
32
+
},
33
+
{
34
+
"name": "ci-gcc",
35
+
"inherits": "ci",
36
+
"displayName": "CI build (GCC)",
37
+
"binaryDir": "${sourceDir}/build/${presetName}",
38
+
"cacheVariables": {
39
+
"CMAKE_C_COMPILER": "gcc",
40
+
"CMAKE_CXX_COMPILER": "g++"
41
+
}
42
+
},
43
+
{
44
+
"name": "ci-clang",
45
+
"inherits": "ci",
46
+
"displayName": "CI build (Clang)",
47
+
"binaryDir": "${sourceDir}/build/${presetName}",
48
+
"cacheVariables": {
49
+
"CMAKE_C_COMPILER": "clang",
50
+
"CMAKE_CXX_COMPILER": "clang++"
51
+
}
52
+
},
53
+
{
54
+
"name": "ci-float",
55
+
"inherits": "ci",
56
+
"displayName": "CI build (float / native SQP)",
57
+
"description": "Single-precision build: blast::real = float, which requires the in-house SQP solver (external NLopt is double-only).",
0 commit comments