View Issue Details

IDProjectCategoryView StatusLast Update
0029277Open CASCADEOCCT:Configurationpublic2018-06-29 21:19
ReporterskiAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Target Version7.3.0Fixed in Version7.3.0 
Summary0029277: Configuration, Cmake - remove 3rd-party libraries from INTERFACE_LINK_LIBRARIES property of installed OCCT targets
DescriptionOCCT (CMake) installation procedure creates OpenCASCADE*Targets.cmake file for each module.
These files contain CMake description of all targets from specific module.
Also property INTERFACE_LINK_LIBRARIES is described for each target.
This property contains the list of transitive link dependencies.
When the target is linked into another target the libraries listed (and recursively their link interface libraries) will be provided to the other target also.

In this case any project which is using OCCT as a 3rd-party product will try to link to transitive links to the OCCT's 3rd-parties (tbb, freeimage and so on).
Sometimes these links contain absolute paths to the libraries and this cause linkage errors if OCCT was taken from some other station.

It is proposed to remove such interface links.
Steps To Reproduce• Configure and generate OCCT;
• Build it and install;
• Check installed OpenCASCADE*Targets.cmake files. They should not contain paths to 3rd-party libraries in property INTERFACE_LINK_LIBRARIES of targets.
TagsNo tags attached.
Test case numberNot required

Relationships

related to 0029396 closedbugmaster Open CASCADE Configuration, Cmake: restore 3rd-party libraries into INTERFACE_LINK_LIBRARIES property of installed OCCT targets 

Activities

git

2017-10-31 12:07

administrator   ~0071861

Branch CR29277 has been created by ski.

SHA-1: f2f0f770df4343b9b35a3eff62fe4dcd65334806


Detailed log of new commits:

Author: ski
Date: Tue Oct 31 12:07:18 2017 +0300

    0029277: Configuration, Cmake - remove 3rd-party libraries from INTERFACE_LINK_LIBRARIES property of installed OCCT targets
    
    3rd-party libraries were removed from INTERFACE_LINK_LIBRARIES properties of OCCT targets.

git

2017-10-31 12:35

administrator   ~0071863

Branch CR29277 has been updated forcibly by ski.

SHA-1: d586dfef01109a825abc9009a2a9f140c38d4837

ski

2017-10-31 12:37

developer   ~0071864

Dear ibs,

please review.

ibs

2017-11-01 11:15

developer   ~0071889

there are no remarks

git

2017-11-08 18:24

administrator   ~0072083

Branch CR29277 has been deleted by kgv.

SHA-1: d586dfef01109a825abc9009a2a9f140c38d4837

Related Changesets

occt: master 5891b8ba

2017-10-31 09:07:18

ski


Committer: bugmaster Details Diff
0029277: Configuration, Cmake - remove 3rd-party libraries from INTERFACE_LINK_LIBRARIES property of installed OCCT targets

3rd-party libraries were removed from INTERFACE_LINK_LIBRARIES properties of OCCT targets.
Affected Issues
0029277
mod - adm/cmake/occt_toolkit.cmake Diff File

Issue History

Date Modified Username Field Change
2017-10-31 12:04 ski New Issue
2017-10-31 12:04 ski Assigned To => ski
2017-10-31 12:07 git Note Added: 0071861
2017-10-31 12:35 git Note Added: 0071863
2017-10-31 12:35 ski Status new => assigned
2017-10-31 12:37 ski Note Added: 0071864
2017-10-31 12:37 ski Assigned To ski => ibs
2017-10-31 12:37 ski Status assigned => resolved
2017-10-31 12:37 ski Steps to Reproduce Updated
2017-10-31 13:46 ski Description Updated
2017-11-01 11:15 ibs Note Added: 0071889
2017-11-01 11:15 ibs Assigned To ibs => abv
2017-11-01 11:15 ibs Status resolved => reviewed
2017-11-02 10:56 bugmaster Status reviewed => tested
2017-11-02 11:51 bugmaster Test case number => Not required
2017-11-02 18:34 bugmaster Changeset attached => occt master 5891b8ba
2017-11-02 18:34 bugmaster Assigned To abv => bugmaster
2017-11-02 18:34 bugmaster Status tested => verified
2017-11-02 18:34 bugmaster Resolution open => fixed
2017-11-08 18:24 git Note Added: 0072083
2017-12-20 18:05 rnv Relationship added related to 0029396
2018-02-20 12:58 aiv Target Version 7.4.0 => 7.3.0
2018-06-29 21:15 aiv Fixed in Version => 7.3.0
2018-06-29 21:19 aiv Status verified => closed