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-01-23 14:54
Reporteroan 
Assigned Toapn 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.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 number
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker