Dependencies Packaging with Makeself for OTB 9
The new method of packaging for OTB 9 will be to split otb modules packages and otb-depends package, which includes all the libs from the SuperBuild. CPack cannot build a standalone package alone because of some dependencies in the superbuild does not have some CMake routines support to allow CPack to know what to install in the pkg. Therefore, for the superbuild part, we build it in another folder, and install its content when building OTB. this allows to package OTB modules and have a separate Depends package.
This task can be split :
-
Create package "Core-depends" containing OTB Core SuperBuild libs -
Build only the superbuild part in a side folder -
Create CPack package from this folder -
Test with a core OTB package generated from CPack
-
-
Create package "full-depends" containing all SuperBuild libs -
Build the superbuild part in a side folder -
Create CPack package from this folder -
Test with a full OTB package generated from CPack
-
-
Test different scenarios
Edited by Thibaut ROMAIN