MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030456Open CASCADE[OCCT] OCCT:Configurationpublic2019-01-23 13:252019-10-04 19:55
Reporteroan 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatustestedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0030456: Make OCCT_CHECK_AND_UNSET_GROUP more general
Descriptionocct_macros.cmake is quite useful for OCCT-based projects.
However, it is impossible to unset group of variables with random ending due to OCCT_CHECK_AND_UNSET_GROUP accepts specific variables only (x_DIR, x_LIBRARY, etc.)

It is suggested to make it more general in order to unset all variables with specified prefix.

This can be done using the following code:
get_cmake_property(VARS VARIABLES)
string (REGEX MATCHALL "(^|;)${GROUP_NAME}[A-Za-z0-9_]*" LOCAL_RESULT "${VARS}")

TagsNo tags attached.
Test case numberNot needed
Attached Files

- Relationships

-  Notes
(0085796)
git (administrator)
2019-07-19 16:28

Branch CR30456 has been created by apn.

SHA-1: 61066a148ee5e8cbd39f21c909dfb900d19c19f2


Detailed log of new commits:

Author: apn
Date: Fri Jul 19 16:25:59 2019 +0300

    0030456: Make OCCT_CHECK_AND_UNSET_GROUP more general
    
    Modify OCCT_CHECK_AND_UNSET_GROUP function to allow unset any group of variables
(0085808)
apn (administrator)
2019-07-19 17:26

Dear oan, could you please review occt and products branches CR30456.

Compilation was checked: http://jenkins-test-12.nnov.opencascade.com/view/CR30456-master-APN/ [^]
(0087251)
oan (developer)
2019-09-18 13:51

Dear Andrey,

Thanks for the update, I will check it using the first moment I will be available.

Regards,
Oleg.
(0087809)
oan (developer)
2019-10-04 12:10

Dear Andrey,

It works without visible regressions with OCCT native environment, I have no remarks.

Reviewed.

- Issue History
Date Modified Username Field Change
2019-01-23 13:25 oan New Issue
2019-01-23 13:25 oan Assigned To => bugmaster
2019-01-23 14:54 bugmaster Assigned To bugmaster => apn
2019-07-19 16:28 git Note Added: 0085796
2019-07-19 17:26 apn Test case number => Not needed
2019-07-19 17:26 apn Note Added: 0085808
2019-07-19 17:26 apn Assigned To apn => oan
2019-07-19 17:26 apn Status new => resolved
2019-09-18 13:51 oan Note Added: 0087251
2019-09-25 22:08 abv Target Version 7.4.0 => 7.5.0*
2019-10-04 12:10 oan Note Added: 0087809
2019-10-04 12:10 oan Assigned To oan => apn
2019-10-04 12:10 oan Status resolved => reviewed
2019-10-04 18:22 apn Assigned To apn => bugmaster
2019-10-04 19:55 apn Status reviewed => tested


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker