SimpleITKPythonPackage icon indicating copy to clipboard operation
SimpleITKPythonPackage copied to clipboard

help building against a pre-existing SimpleITK

Open cfhammill opened this issue 3 years ago • 0 comments

Hi SimpleITK devs, I'm trying to get the SimpleITK python bindings packaged for the nix package manager so I can use them for work. SimpleITK itself has been packaged https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/simpleitk/default.nix

The packaged version of SimpleITK is compiled with shared objects, and includes the development headers. It also has the following cmake files squirreled away SimpleITKConfig.cmake SimpleITKConfigVersion.cmake SimpleITKTargets.cmake SimpleITKTargets-release.cmake UseSimpleITK.cmake

I think this should be enough to build the python bindings against without recompiling SimpleITK but I've been unable to figure out how to coax the build system to use the pre-existing version. Disabling the superbuild was no help because it expects cmake_install files to exist which do not.

Any suggestions for how I could proceed?

cfhammill avatar Mar 25 '22 23:03 cfhammill