@@ -22,6 +22,13 @@ depends-on = ["pnpm-install"]
22
22
outputs = [" packages/dicom/test/data.tar.gz" ]
23
23
description = " Download DICOM test data"
24
24
25
+ [tasks .mesh-io-test-data-download ]
26
+ cmd = " npx dam download test/data test/data.tar.gz $ITK_WASM_MESH_IO_TEST_DATA_HASH $ITK_WASM_MESH_IO_TEST_DATA_URLS"
27
+ cwd = " packages/mesh-io"
28
+ depends-on = [" pnpm-install" ]
29
+ outputs = [" packages/mesh-io/test/data.tar.gz" ]
30
+ description = " Download mesh-io test data"
31
+
25
32
[dependencies ]
26
33
pnpm = " >=9.7.1,<10"
27
34
nodejs = " >=22.6.0,<23"
@@ -133,6 +140,26 @@ cmd = "ctest --test-dir $ITK_WASM_NATIVE_WORKSPACE/dicom-build"
133
140
depends-on = [" build-native-dicom" ]
134
141
description = " Test dicom native binaries"
135
142
143
+ [feature .native .tasks .configure-native-mesh-io ]
144
+ cmd = ''' cmake -B$ITK_WASM_NATIVE_WORKSPACE/mesh-io-build -Spackages/mesh-io -GNinja
145
+ -DITK_DIR:PATH=$ITK_WASM_ITK_BUILD_DIR
146
+ -DBUILD_TESTING:BOOL=ON
147
+ -DCMAKE_CXX_STANDARD:STRING=20
148
+ -DCMAKE_BUILD_TYPE:STRING=Debug'''
149
+ depends-on = [" build-itk-wasm" , " mesh-io-test-data-download" ]
150
+ outputs = [" native/mesh-io-build/CMakeFiles/" ]
151
+ description = " Configure mesh-io native binaries"
152
+
153
+ [feature .native .tasks .build-native-mesh-io ]
154
+ cmd = " cmake --build $ITK_WASM_NATIVE_WORKSPACE/mesh-io-build"
155
+ depends-on = [" configure-native-mesh-io" ]
156
+ description = " Build mesh-io native binaries"
157
+
158
+ [feature .native .tasks .test-native-mesh-io ]
159
+ cmd = " ctest --test-dir $ITK_WASM_NATIVE_WORKSPACE/mesh-io-build"
160
+ depends-on = [" build-native-mesh-io" ]
161
+ description = " Test mesh-io native binaries"
162
+
136
163
[feature .native .dependencies ]
137
164
cmake = " >=3.30.2,<4"
138
165
cxx-compiler = " >=1.7.0,<2"
0 commit comments