Skip to content

Commit 82ee00f

Browse files
yhbyhbvicroms
andauthored
[vtk] Add a feature debugLeaks (microsoft#46527)
Co-authored-by: Victor Romero <[email protected]>
1 parent c976309 commit 82ee00f

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

ports/vtk/portfile.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,12 @@ if("openmp" IN_LIST FEATURES)
255255
)
256256
endif()
257257

258+
if("debugleaks" IN_LIST FEATURES)
259+
list(APPEND ADDITIONAL_OPTIONS
260+
-DVTK_DEBUG_LEAKS=ON
261+
)
262+
endif()
263+
258264
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
259265
FEATURES
260266
"cuda" VTK_USE_CUDA

ports/vtk/vcpkg.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vtk",
33
"version-semver": "9.3.0-pv5.12.1",
4-
"port-version": 8,
4+
"port-version": 9,
55
"description": "Software system for 3D computer graphics, image processing, and visualization",
66
"homepage": "https://github.com/Kitware/VTK",
77
"license": null,
@@ -126,6 +126,9 @@
126126
"cuda"
127127
]
128128
},
129+
"debugleaks": {
130+
"description": "Enables vtk debug leaks detection"
131+
},
129132
"gdal": {
130133
"description": "Support GDAL compilation",
131134
"dependencies": [

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10098,7 +10098,7 @@
1009810098
},
1009910099
"vtk": {
1010010100
"baseline": "9.3.0-pv5.12.1",
10101-
"port-version": 8
10101+
"port-version": 9
1010210102
},
1010310103
"vtk-dicom": {
1010410104
"baseline": "0.8.16",

versions/v-/vtk.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "84460a0060d3289c25e17e2837e4de4329051fbb",
5+
"version-semver": "9.3.0-pv5.12.1",
6+
"port-version": 9
7+
},
38
{
49
"git-tree": "e6cc414fbc70c98a2e34478e6238539ac8534ac6",
510
"version-semver": "9.3.0-pv5.12.1",

0 commit comments

Comments
 (0)