Skip to content

help building against a pre-existing SimpleITK #48

@cfhammill

Description

@cfhammill

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions