Documentation/Nightly/Developers/Tutorials/Debugging macOS packaging
From Slicer Wiki
Revision as of 19:01, 7 March 2019 by JChris.FillionR (talk | contribs)
Home < Documentation < Nightly < Developers < Tutorials < Debugging macOS packaging
Overview
The packaging on Linux and Windows consists of:
- copying files from the build tree to a staging folder
- creating an archive based on the staging folder
macOS packaging includes an additional "fixup" step:
- copying files from the build tree to a staging folder
- fixup step
- creating an archive based on the staging folder
macOS file copy step
- Only plugins from external projects are copied into the staging folder
macOS "fixup" step
- Copy external project dependencies into the staging folder
- fixing up a library means replacing the rpath referencing a library using an absolute path (e.g /path/to/Slicer-SuperBuilb/VTK-build/lib/libvtkXXX-X.Y.Z.dylib) with an @rpath/ based reference (e.g @rpath/path/to/libvtkXXX-X.Y.Z.dylib)