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-09-18 13:51
Assigned Tooan 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0Fixed 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
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
apn (administrator)
2019-07-19 17:26

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

Compilation was checked: [^]
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.


- 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

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker