Package: oce / 0.17.1-1~bpo8+1

Metadata

Package Version Patches format
oce 0.17.1-1~bpo8+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
split export.patch | (download)

CMakeLists.txt | 20 19 + 1 - 0 !
adm/cmake/BuildToolkit.cmake | 2 1 + 1 - 0 !
adm/cmake/config/ProjectConfig.cmake.in | 6 5 + 1 - 0 !
3 files changed, 25 insertions(+), 3 deletions(-)

 split export file into several pieces
  In Debian, OCE libraries are split into several packages.
  Prior to oce 0.10-3, the OCE-libraries-release.cmake file contained all
  targets computed when compiling.  But then CMake projects could load this
  file only if all files referenced by these targets were present, which
  means that nearly all oce packages have to be installed.
  .
  With this patch, each package contains a cmake script which declares
  only its own targets, and OCEConfig.cmake loads all those scripts
  in the right order.
  .
  The only downside is that cmake reports errors when generating files:
    CMake Error: INSTALL(EXPORT "OCE02_ModelingTargets" ...) includes target "TKG2d" which requires target "TKernel" that is not in the export set.
    CMake Error: INSTALL(EXPORT "OCE02_ModelingTargets" ...) includes target "TKG3d" which requires target "TKMath" that is not in the export set.
    [...]
  and thus returns 1 instead of 0.
  .
  This is related to
    http://www.cmake.org/Bug/view.php?id=12588
  .
  This patch is Debian specific and does not have to be forwarded upstream.
  .
speedup BRepMesh_test.patch | (download)

test/BRepMesh_test/BRepMesh_test.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make brepmesh_test run faster