View Issue Details

IDProjectCategoryView StatusLast Update
0028015Open CASCADEOCCT:Configurationpublic2016-11-03 17:42
ReportermsvAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.1.0 
Summary0028015: CMake: Dependency resolution does not work with BUILD_ADDITIONAL_TOOLKITS option as it is written in documentation
DescriptionDocumentation https://dev.opencascade.org/doc/overview/html/occt_dev_guides__building_cmake.html#build_cmake_conf says in description of the option BUILD_ADDITIONAL_TOOLKITS:

"If you want to build some particular libraries (toolkits) only, then you may uncheck all modules in the corresponding BUILD_MODUE_<MODULE> options and provide the list of necessary libraries here. Of course, all dependencies will be resolved automatically".

The last phrase leaves a hope that if the the list of toolkits depends on another toolkit that is not in the list then the system automatically will add such toolkit in the build list.

However, it does not work. If we use the following list:
-DBUILD_ADDITIONAL_TOOLKITS:STRING="TKernel;TKMath;TKTopAlgo;TKBRep;TKCDF;TKCAF;TKLCAF;TKPrim;TKBO;TKGeomBase;TKGeomAlgo;TKG2d;TKG3d;TKShHealing;TKOffset;TKMesh;TKHLR"
then we have to put `TKXml` there, too to resolve runtime issues. It seems like the dependency resolution does not work correctly?
TagsNo tags attached.
Test case number

Activities

ski

2016-10-28 12:19

developer   ~0059309

Dear msv,

Dependency resolution works correctly on current state of master,
I have checked it on my local station by reproducing next steps:
• run CMake gui
• Uncheck all BUILD_MODULE_* checkboxes
• Uncheck all USE_* checkboxes
• Set BUILD_ADDITIONAL_TOOLKITS variable equal to the list from issue's description "TKernel;TKMath;TKTopAlgo;TKBRep;TKCDF;TKCAF;TKLCAF;TKPrim;TKBO;TKGeomBase;TKGeomAlgo;TKG2d;TKG3d;TKShHealing;TKOffset;TKMesh;TKHLR"
• Press Configure, Generate
• Build the solution -> all is OK (no errors)

It seems that TKXml dependency is taken from some external application.

msv

2016-11-01 10:29

developer   ~0059673

TKXml is a plugin that is loaded in runtime for save/restore OCAF document. So, the build procedure does not need to be changed.
This bug can be closed.

Issue History

Date Modified Username Field Change
2016-10-27 16:47 msv New Issue
2016-10-27 16:47 msv Assigned To => ski
2016-10-27 16:48 msv Description Updated
2016-10-28 12:19 ski Note Added: 0059309
2016-10-28 12:19 ski Assigned To ski => msv
2016-10-28 12:19 ski Status new => feedback
2016-11-01 10:29 msv Note Added: 0059673
2016-11-01 10:29 msv Assigned To msv => bugmaster
2016-11-01 10:29 msv Resolution open => no change required
2016-11-03 17:42 abv Status feedback => closed
2016-11-03 17:42 abv Target Version 7.1.0 =>