-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakePresets.json
More file actions
118 lines (118 loc) · 3.57 KB
/
CMakePresets.json
File metadata and controls
118 lines (118 loc) · 3.57 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"version": 3,
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default build using vcpkg (autodetected)",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed"
}
},
{
"name": "debug",
"displayName": "Debug",
"description": "Debug build using vcpkg",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_QT_EXAMPLES": "ON",
"BUILD_VTK_EXAMPLES": "OFF",
"BUILD_EIGEN_EXAMPLES": "ON",
"BUILD_MIXED_LANG_EXAMPLES": "OFF",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed"
}
},
{
"name": "release",
"displayName": "Release",
"description": "Release build using vcpkg",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_QT_EXAMPLES": "ON",
"BUILD_VTK_EXAMPLES": "OFF",
"BUILD_EIGEN_EXAMPLES": "ON",
"BUILD_MIXED_LANG_EXAMPLES": "OFF",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed"
}
},
{
"name": "vs2022",
"displayName": "Visual Studio 2022",
"description": "Visual Studio 2022 build using vcpkg",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build-vs2022",
"cacheVariables": {
"BUILD_QT_EXAMPLES": "ON",
"BUILD_VTK_EXAMPLES": "OFF",
"BUILD_EIGEN_EXAMPLES": "ON",
"BUILD_MIXED_LANG_EXAMPLES": "OFF",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed"
}
},
{
"name": "vs2026-debug",
"displayName": "Visual Studio 2026",
"description": "Visual Studio 2026 build using vcpkg",
"generator": "Visual Studio 18 2026",
"binaryDir": "${sourceDir}/build-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_QT_EXAMPLES": "ON",
"BUILD_VTK_EXAMPLES": "OFF",
"BUILD_EIGEN_EXAMPLES": "ON",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed",
"BUILD_MIXED_LANG_EXAMPLES": "ON",
"BUILD_PYBIND11_EXAMPLES": "ON"
}
},
{
"name": "vs2026-release",
"displayName": "Visual Studio 2026",
"description": "Visual Studio 2026 build using vcpkg",
"generator": "Visual Studio 18 2026",
"binaryDir": "${sourceDir}/build-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_QT_EXAMPLES": "ON",
"BUILD_VTK_EXAMPLES": "OFF",
"BUILD_EIGEN_EXAMPLES": "ON",
"BUILD_MIXED_LANG_EXAMPLES": "ON",
"BUILD_PYBIND11_EXAMPLES": "ON",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug",
"displayName": "Debug Build",
"description": "Build in Debug mode"
},
{
"name": "release",
"configurePreset": "release",
"displayName": "Release Build",
"description": "Build in Release mode"
},
{
"name": "vs2026-debug",
"configurePreset": "vs2026-debug",
"displayName": "Debug Build",
"description": "Build in Debug mode"
},
{
"name": "vs2026-release",
"configurePreset": "vs2026-release",
"displayName": "Release Build",
"description": "Build in Release mode"
}
]
}