- add more tests

- do not allow multiple registrations to run at once because it causes a memory error in the sitk code
This commit is contained in:
Wim Pomp
2025-03-03 09:40:46 +01:00
parent 0aeb3c8c7e
commit 934f038ea1
8 changed files with 378 additions and 167 deletions

View File

@@ -41,7 +41,6 @@ fn main() {
.define("SimpleITK_USE_ELASTIX", "ON")
.build();
}
// println!("cargo::rustc-env=CMAKE_INSTALL_PREFIX=/home/wim/code/rust/sitk-sys/cpp");
println!(
"cargo::rustc-env=CMAKE_INSTALL_PREFIX={}",
out_dir.display()
@@ -57,6 +56,6 @@ fn main() {
println!("cargo::rustc-link-search={}", path.join("build").display());
println!("cargo::rustc-link-lib=dylib=sitk_adapter");
println!("cargo::rerun-if-changed=build.rs");
println!("cargo::rerun-if-changed=cpp/*.cxx");
println!("cargo::rerun-if-changed=cpp");
}
}