DiscussionsIssue archiveOCCT:Configuration

Archived issue #0033382

Configuration - Installation issue for debug mode for static build

Open CASCADEOCCT:Configurationverified5 public notes

Search issues

Description

Can't install occt project on windows using cmake install target for static build for debug mode.

Steps to reproduce

configure and build cmake project of occt with provided flags and run install target:
 INSTALL_DIR: $PROJECT_INSTALL_DIR
  BUILD_MODULE_Draw: false
  BUILD_LIBRARY_TYPE: "Static"
  BUILD_DOC_Overview: false
  USE_FREEIMAGE:BOOL: false
  USE_RAPIDJSON:BOOL: true
  USE_DRACO: true
  3RDPARTY_FREETYPE_DIR: $freetype2_INSTALL_DIR
  3RDPARTY_RAPIDJSON_DIR: $rapidjson_INSTALL_DIR
  3RDPARTY_DRACO_DIR: $draco_INSTALL_DIR

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Commenter 1.

[revision removed]


Detailed log of new commits:

Author: Commenter 1
Date: Tue May 16 13:48:11 2023 +0100

    0033382: Configuration - Installation issue for debug mode for static build
    
    Updated install command to handle BUILD_SHARED_LIBS configuration
02Commenter 1
Dear Author

Please review CR33382

Installing process fixed. Now debug files installed into correct folder.
There is not possible to test this fix on our test system. Locally all work well.

03Author
Tested on windows for static build in debug looks like issue fixed
04Commenter 3
Combination -
OCCT branch : [archived branch]
Products branch : [archived branch]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Ubuntu2004-64:
OCCT
Total CPU difference: 18391.170000000107 / 18189.450000000208 [+1.11%]
Products
Total CPU difference: 12017.159999999963 / 12137.909999999983 [-0.99%]
Windows-64-VC142:
OCCT
Total CPU difference: 20046.90625 / 19812.3125 [+1.18%]
Products
Total CPU difference: 14550.09375 / 13941.0625 [+4.37%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
05Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]