MantisBT - Open CASCADE
View Issue Details
0027319Open CASCADE[OCCT] OCCT:Configurationpublic2016-03-30 12:012019-07-10 21:12
ibs 
ibs 
normalminor 
assignedopen 
ALL
[OCCT] Unscheduled 
[OCCT] 7.5.0* 
0027319: Configuration, Cmake - cmake's c/cxx corresponding flags are not updated in cmake gui after changes in cmake script
occt_defs_flags.cmake script updates CMAKE_CXX_FLAGS and similar variables but these changes are not shown in cmake gui application. There the old values of these variables are shown
n/a
No tags attached.
related to 0027417closed bugmaster Community Choose a Better Default Release Optimization Parameter for MinGW-w64 
Issue History
2016-03-30 12:01ibsNew Issue
2016-03-30 12:01ibsAssigned To => bugmaster
2016-03-30 12:07ibsAssigned Tobugmaster => ski
2016-03-30 12:07ibsStatusnew => resolved
2016-03-30 12:07ibsSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13342#r13342
2016-03-30 12:07gitNote Added: 0052167
2016-03-30 16:46skiNote Added: 0052197
2016-03-30 16:47skiAssigned Toski => ibs
2016-03-30 16:47skiStatusresolved => feedback
2016-03-30 18:43gitNote Added: 0052212
2016-03-30 18:46ibsNote Added: 0052214
2016-03-30 18:46ibsAssigned Toibs => ski
2016-03-30 18:46ibsStatusfeedback => resolved
2016-03-30 18:46ibsSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13353#r13353
2016-03-31 10:23skiNote Added: 0052222
2016-03-31 10:23skiAssigned Toski => bugmaster
2016-03-31 10:23skiStatusresolved => reviewed
2016-03-31 11:39abvTarget Version7.0.0 => 7.1.0
2016-04-11 12:22ibsNote Added: 0052565
2016-04-11 12:22ibsAssigned Tobugmaster => ibs
2016-04-11 12:22ibsStatusreviewed => assigned
2016-04-25 11:14ibsRelationship addedrelated to 0027417
2016-05-02 22:15gitNote Added: 0053773
2016-11-03 17:21abvTarget Version7.1.0 => 7.2.0
2017-07-27 09:43abvTarget Version7.2.0 => 7.4.0
2019-07-10 21:12abvTarget Version7.4.0 => 7.5.0*

Notes
(0052167)
git   
2016-03-30 12:07   
Branch CR27319 has been created by ibs.

SHA-1: 68050429d2d01aaf614020c93e0dd376c682b289


Detailed log of new commits:

Author: ibs
Date: Wed Mar 30 12:03:13 2016 +0300

    0027319: Configuration, Cmake - cmake's c/cxx corresponding flags are not updated in cmake gui after changes in cmake script
    
    update the corresponding variables by force
(0052197)
ski   
2016-03-30 16:46   
There is a problem:

during generation in CMake try to press Generate button several time
=> corresponding cmake's c/cxx variables will contain repeated flags

For example:
"/MD /O2 /Ob2 /D NDEBUG -DNo_Exception -DNo_Exception -DNo_Exception -DNo_Exception -DNo_Exception"
(0052212)
git   
2016-03-30 18:43   
Branch CR27319 has been updated forcibly by ibs.

SHA-1: ee29aa9e70fda0775b6f4bf96046da4a3a51dad1
(0052214)
ibs   
2016-03-30 18:46   
before a new flag adding to a cache variable, the check for its existence is done. please review
(0052222)
ski   
2016-03-31 10:23   
Reviewed with no remarks, please proceed.
(0052565)
ibs   
2016-04-11 12:22   
there's an error on *nix systems due to an incorrect regex string:

RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at adm/cmake/occt_defs_flags.cmake:13 (string):
  string sub-command REGEX, mode MATCH failed to compile regex "/std=c++0x".
(0053773)
git   
2016-05-02 22:15   
Branch CR27319 has been updated forcibly by ibs.

SHA-1: 7472882f0b982771e94d63f7e6b54f9c8d56d121