View Issue Details

IDProjectCategoryView StatusLast Update
0032046CommunityOCCT:Configurationpublic2024-04-11 19:57
Reportertaoyouh Assigned Todpasukhi  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
PlatformWindowsOSVC++ 2015 
Product Version7.5.0 
Target VersionUnscheduled 
Summary0032046: Configuration - CMake Installs .lib files to libd instead of lib on Windows
DescriptionAfter using CMake install with the following settings, .lib files on Windows are installed in libd, but .so files on Linux are installed in lib. The .lib files are expected to be saved in "lib" as I configured, or they should have the same behavior on Windows and Linux.

INSTALL_DIR_LAYOUT=Unix
INSTALL_DIR_LIB=lib
CMAKE_BUILD_TYPE=Debug
TagsNo tags attached.
Test case number

Relationships

related to 0032035 closedbugmaster Community Configuration - bug in OpenCASCADEConfig.cmake when using INSTALL_DIR_CMAKE 

Activities

bugmaster

2021-01-11 16:21

administrator   ~0098077

Hi,

For what reason you :
1. use Unix layout on Windows
2. are not satisfied condition for Windows
  lib - Release libraries
  libd - Debug libraries

taoyouh

2021-01-12 07:36

developer   ~0098082

Last edited: 2021-01-12 07:36

I am integrating Open Cascade with a package manager (conan), which maintains the list of lib files by itself without using CMake. Thus, I need a universal package layout, so I don't need to figure out whether they are in "win64/vc14" or "lin64/gcc", "lib" or "libd".

With the current behavior, I need to check whether the library files are in "lib" or "libd". Everyone using custom build systems or package managers will face this problem. I hope that files can be in the same directory across all platforms.

dpasukhi

2023-08-02 02:04

administrator   ~0113833

Last edited: 2023-08-02 02:05

Issue History

Date Modified Username Field Change
2021-01-10 16:39 taoyouh New Issue
2021-01-10 16:39 taoyouh Assigned To => bugmaster
2021-01-10 17:11 kgv Target Version => 7.6.0
2021-01-10 17:11 kgv Summary CMake Installs .lib files to libd instead of lib on Windows => Configuration - CMake Installs .lib files to libd instead of lib on Windows
2021-01-11 16:21 bugmaster Note Added: 0098077
2021-01-11 16:21 bugmaster Assigned To bugmaster => taoyouh
2021-01-11 16:21 bugmaster Status new => feedback
2021-01-12 07:36 taoyouh Note Added: 0098082
2021-01-12 07:36 taoyouh Note Edited: 0098082
2021-01-12 15:44 kgv Relationship added related to 0032035
2021-11-01 18:14 szy Target Version 7.6.0 => 7.7.0
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0
2023-08-02 02:04 dpasukhi Assigned To taoyouh => bugmaster
2023-08-02 02:04 dpasukhi Note Added: 0113833
2023-08-02 02:04 dpasukhi Target Version 7.8.0 => Unscheduled
2023-08-02 02:05 dpasukhi Note Edited: 0113833
2023-08-02 02:05 dpasukhi Assigned To bugmaster => dpasukhi
2023-08-02 02:05 dpasukhi Status feedback => assigned