CMake - fix bug with dropping changed settings for existing build directory

Authored by antonanikin on Apr 27 2017, 5:46 AM.



Steps to reproduce:

  1. Open some CMake project
  2. Create some build directory if it is not created.
  3. Open advanced settings ("Show Advanced" button).
  4. Change some setting, for example "Build type".
  5. Press Ok/Apply.
  6. Result - CMake will run with OLD settings and all your changes will be lost.
Test Plan

Tested with master branch

Diff Detail

R32 KDevelop
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
antonanikin created this revision.Apr 27 2017, 5:46 AM
antonanikin edited the summary of this revision. (Show Details)Apr 27 2017, 5:49 AM
kfunk added a reviewer: apol.Apr 27 2017, 8:20 AM
apol accepted this revision.Apr 27 2017, 10:47 AM
This revision is now accepted and ready to land.Apr 27 2017, 10:47 AM
This revision was automatically updated to reflect the committed changes.