View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0028015 | Open CASCADE | OCCT:Configuration | public | 2016-10-27 16:47 | 2016-11-03 17:42 |
| Reporter | Assigned To | bugmaster | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 7.1.0 | ||||
| Summary | 0028015: CMake: Dependency resolution does not work with BUILD_ADDITIONAL_TOOLKITS option as it is written in documentation | ||||
| Description | Documentation 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? | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
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. |
|
|
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. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-10-27 16:47 |
|
New Issue | |
| 2016-10-27 16:47 |
|
Assigned To | => ski |
| 2016-10-27 16:48 |
|
Description Updated | |
| 2016-10-28 12:19 |
|
Note Added: 0059309 | |
| 2016-10-28 12:19 |
|
Assigned To | ski => msv |
| 2016-10-28 12:19 |
|
Status | new => feedback |
| 2016-11-01 10:29 |
|
Note Added: 0059673 | |
| 2016-11-01 10:29 |
|
Assigned To | msv => bugmaster |
| 2016-11-01 10:29 |
|
Resolution | open => no change required |
| 2016-11-03 17:42 |
|
Status | feedback => closed |
| 2016-11-03 17:42 |
|
Target Version | 7.1.0 => |