View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027514 | Community | OCCT:Configuration | public | 2016-05-18 15:03 | 2016-12-09 16:38 |
Reporter | Timo | Assigned To | apn | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.0.0 | ||||
Target Version | 7.1.0 | Fixed in Version | 7.1.0 | ||
Summary | 0027514: Configuration, CMake - relative paths are not correctly handled for INSTALL_DIR | ||||
Description | When using relative paths for INSTALL_DIR, a Problem occurs if the relative path starts with double or more "..", e.g. "../../occ-install". You can see in the install_manifest.txt that the relative path is added twice for Header and resource files, but only once for binaries. In this way, two install directories are created at different places, each one containing only a part of the files. E.g.: ...win32-vc10/../../occ-install/../../occ-install/LICENSE_LGPL_21.txt ... ...win32-vc10/../occ-install/win32/vc10/bin/TKernel.dll | ||||
Steps To Reproduce | - Use "../../occ-install" for the INSTALL_DIR variable - Compile the Install Project - try to start Draw in the install directory | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Branch CR27514 has been created by ski. SHA-1: 9333cd165f568cb2636fe3e12eabcda4d6d5d55e Detailed log of new commits: Author: ski Date: Wed Jun 15 12:29:47 2016 +0300 0027514: Configuration, CMake - relative paths are not correctly handled for INSTALL_DIR Relative path can be used as INSTALL_DIR. |
|
Dear ibs, please review occt branch CR27514, it is possible now to set INSTALL_DIR as relative path to CMAKE_BINARY_DIR. CMake procedure "install" takes given relative path and concatinate it with CMAKE_INSTALL_PREFIX variable during installation. |
|
there are no remarks |
|
Installation procedure was checked. It works correct with relative paths. |
|
Branch CR27514 has been updated forcibly by inv. SHA-1: 6e334e79ec22fe06c6eb321b9bf01f9b50d3b7c5 |
|
Branch CR27514 has been deleted by kgv. SHA-1: 6e334e79ec22fe06c6eb321b9bf01f9b50d3b7c5 |
occt: master d26375e2 2016-06-15 09:29:47
Committer: apn Details Diff |
0027514: Configuration, CMake - relative paths are not correctly handled for INSTALL_DIR Relative path can be used as INSTALL_DIR. |
Affected Issues 0027514 |
|
mod - adm/cmake/3rdparty_macro.cmake | Diff File | ||
mod - adm/cmake/freetype.cmake | Diff File | ||
mod - adm/cmake/occt_macros.cmake | Diff File | ||
mod - adm/cmake/occt_toolkit.cmake | Diff File | ||
mod - adm/cmake/tbb.cmake | Diff File | ||
mod - adm/cmake/tcl.cmake | Diff File | ||
mod - adm/cmake/tk.cmake | Diff File | ||
mod - adm/templates/custom.install.bat.in | Diff File | ||
mod - adm/templates/custom.install.sh.in | Diff File | ||
mod - adm/templates/env.samples.bat.in | Diff File | ||
mod - adm/templates/env.samples.sh.in | Diff File | ||
mod - CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/01_Geometry/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/02_Modeling/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/03_Viewer2d/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/04_Viewer3d/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/05_ImportExport/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/06_Ocaf/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/07_Triangulation/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/08_HLR/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/09_Animation/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/10_Convert/CMakeLists.txt | Diff File | ||
mod - samples/mfc/standard/mfcsample/CMakeLists.txt | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-05-18 15:03 | Timo | New Issue | |
2016-05-18 15:03 | Timo | Assigned To | => bugmaster |
2016-05-25 10:30 | bugmaster | Assigned To | bugmaster => ski |
2016-05-25 10:30 | bugmaster | Status | new => assigned |
2016-06-15 12:30 | git | Note Added: 0055000 | |
2016-06-15 14:08 |
|
Note Added: 0055010 | |
2016-06-15 14:08 |
|
Assigned To | ski => ibs |
2016-06-15 14:08 |
|
Status | assigned => resolved |
2016-09-26 11:24 |
|
Note Added: 0058145 | |
2016-09-26 11:24 |
|
Assigned To | ibs => bugmaster |
2016-09-26 11:24 |
|
Status | resolved => reviewed |
2016-10-27 13:10 | apn | Note Added: 0059248 | |
2016-10-27 13:18 | git | Note Added: 0059249 | |
2016-10-27 14:09 | apn | Test case number | => Not needed |
2016-10-27 14:09 | apn | Status | reviewed => tested |
2016-10-28 14:35 | apn | Changeset attached | => occt master d26375e2 |
2016-10-28 14:35 | apn | Assigned To | bugmaster => apn |
2016-10-28 14:35 | apn | Status | tested => verified |
2016-10-28 14:35 | apn | Resolution | open => fixed |
2016-10-28 21:37 | git | Note Added: 0059405 | |
2016-12-09 16:30 |
|
Status | verified => closed |
2016-12-09 16:38 |
|
Fixed in Version | => 7.1.0 |