MantisBT - Open CASCADE
View Issue Details
0029396Open CASCADE[OCCT] OCCT:Configurationpublic2017-12-20 18:042018-06-29 21:19
rnv 
bugmaster 
normalminor 
closedfixed 
[OCCT] Unscheduled 
[OCCT] 7.3.0[OCCT] 7.3.0 
Not needed
0029396: Configuration, Cmake: restore 3rd-party libraries into INTERFACE_LINK_LIBRARIES property of installed OCCT targets
In the frames of 0029277 issue all third-party libraries were removed from INTERFACE_LINK_LIBRARIES property of some OCCT libraries. The reason for this removing was the fact that after copying/moving OCCT build from one workstation to another or simple moving of the third-party libraries the absolute paths, which are presented in the OCCT CMake configuration files, became invalid.

But as a result the changes, described above, lead to a problem with the linking on Linux, for the details see 0028977 issue. So to avoid this problem it is suggested to rollback the changes made in the frames of 0029277 issue.

Regarding the problem described in 0029277 issue: it is true that current OCCT CMake configuration is doesn't allow move OCCT build or third-party libraries in a simple way. It is required to update manually several OCCT CMake configuration files in order to correct absolute path to OCCT third-party libraries (tbb, ffmpeg, ...). Maybe it make sense to improve OCCT CMake configuration in order to simplify the procedure of the moving OCCT builds, but this is beyond the scope of this concrete issue.
Configure, Generate and Build solution as usual
Check that installed CMake config files contains paths to 3rd-party libraries in INTERFACE_LINK_LIBRARIES property of some OCCT libraries.
No tags attached.
related to 0029277closed bugmaster Configuration, Cmake - remove 3rd-party libraries from INTERFACE_LINK_LIBRARIES property of installed OCCT targets 
related to 0028977closed bugmaster FFmpeg libraries are not presented in the CMake configuration 
Issue History
2017-12-20 18:04rnvNew Issue
2017-12-20 18:04rnvAssigned To => bugmaster
2017-12-20 18:05rnvRelationship addedrelated to 0029277
2017-12-20 18:05rnvRelationship addedrelated to 0028977
2017-12-20 18:17bugmasterAssigned Tobugmaster => ski
2017-12-20 18:17bugmasterStatusnew => assigned
2017-12-22 09:45gitNote Added: 0073079
2017-12-22 11:00gitNote Added: 0073083
2017-12-22 11:03skiNote Added: 0073084
2017-12-22 11:03skiAssigned Toski => apn
2017-12-22 11:03skiStatusassigned => resolved
2017-12-22 11:03skiSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18384#r18384
2017-12-22 11:54gitNote Added: 0073088
2017-12-22 12:05apnTest case number => Not needed
2017-12-22 12:05apnNote Added: 0073089
2017-12-22 12:05apnAssigned Toapn => bugmaster
2017-12-22 12:05apnStatusresolved => reviewed
2017-12-22 12:28bugmasterStatusreviewed => tested
2017-12-23 12:07bugmasterChangeset attached => occt master 8197951d
2017-12-23 12:07bugmasterStatustested => verified
2017-12-23 12:07bugmasterResolutionopen => fixed
2018-01-11 11:10gitNote Added: 0073332
2018-02-20 12:58aivTarget Version7.4.0 => 7.3.0
2018-06-29 21:15aivFixed in Version => 7.3.0
2018-06-29 21:19aivStatusverified => closed

Notes
(0073079)
git   
2017-12-22 09:45   
Branch CR29396 has been created by ski.

SHA-1: bea5d1599d52839dc369690710d175c37e098704


Detailed log of new commits:

Author: ski
Date: Thu Dec 21 15:37:53 2017 +0300

    0029396: Configuration, Cmake: restore 3rd-party libraries into INTERFACE_LINK_LIBRARIES property of installed OCCT targets
    
    Changes from branch CR29277 were reverted.
(0073083)
git   
2017-12-22 11:00   
Branch CR29396 has been updated forcibly by ski.

SHA-1: a3ecaa2850b703fcbd6f6f76ef7ef910bc79091f
(0073084)
ski   
2017-12-22 11:03   
Dear apn,

please review.
(0073088)
git   
2017-12-22 11:54   
Branch CR29396 has been updated forcibly by ski.

SHA-1: 652fbb36f7fb0d4ac6d5273f9c16d193a8a93f78
(0073089)
apn   
2017-12-22 12:05   
Reviewed and tested. Installed CMake config files contains paths to 3rd-party libraries in INTERFACE_LINK_LIBRARIES property (e.g. OpenCASCADEFoundationClassesTargets.cmake contains "C:/occt-3rdparty/Windows-64-VC10/tbb_2017.0.100/lib/intel64/vc10/tbb.lib", etc).
(0073332)
git   
2018-01-11 11:10   
Branch CR29396 has been deleted by kgv.

SHA-1: 652fbb36f7fb0d4ac6d5273f9c16d193a8a93f78