MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032046Community[OCCT] OCCT:Configurationpublic2021-01-10 16:392021-01-12 15:48
Reportertaoyouh 
Assigned Totaoyouh 
PrioritynormalSeverityminor 
StatusfeedbackResolutionopen 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 7.5.0 
Target Version[OCCT] 7.6.0*Fixed in Version 
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
Attached Files

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

-  Notes
(0098077)
bugmaster (administrator)
2021-01-11 16:21

Hi,

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

(0098082)
taoyouh (developer)
2021-01-12 07:36
edited on: 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.


- 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 12:13 kgv Relationship added related to 0032047
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 View Revisions
2021-01-12 15:44 kgv Relationship added related to 0032035


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker