Re: [CMake] Why change option in Cmake -GUI does not require re-configuration?

2013-11-20 Thread Alex Malyushytskyy
Is this expected behavior?
I remember using old version and update of the variable in the gui leaded
to disabling generate button

Alex


On Mon, Nov 18, 2013 at 4:31 PM, Alex Malyushytskyy alexmal...@gmail.comwrote:

 I downloaded CMake 2.8.12 and faced the following behavior with Cmake
 -GUI  which can be reproduced  if:

 After initial configuration click configurations until all options are not
 marked as red.
 Then change one the options.

 Now you are able to click Generate and skip Configure.

 This leads to the wrong project file generated , if last changed option
 was incompatible with previously set options.

 This does not happen with ccmake., which enforces configuration after any
 change.

 It looks like as a bug to me.

 Regards,

 Alex

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Why change option in Cmake -GUI does not require re-configuration?

2013-11-20 Thread clinton
- Original Message -

 I downloaded CMake 2.8.12 and faced the following behavior with Cmake -GUI
 which can be reproduced if:

 After initial configuration click configurations until all options are not
 marked as red.
 Then change one the options.

 Now you are able to click Generate and skip Configure.

 This leads to the wrong project file generated , if last changed option was
 incompatible with previously set options.

 This does not happen with ccmake. , which enforces configuration after any
 change.

 It looks like as a bug to me.

Yes, its a bug. Thanks for reporting and its fixed here. 
http://cmake.org/gitweb?p=cmake.git;a=commit;h=b5669873 

Clint 
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] Why change option in Cmake -GUI does not require re-configuration?

2013-11-18 Thread Alex Malyushytskyy
I downloaded CMake 2.8.12 and faced the following behavior with Cmake -GUI
which can be reproduced  if:

After initial configuration click configurations until all options are not
marked as red.
Then change one the options.

Now you are able to click Generate and skip Configure.

This leads to the wrong project file generated , if last changed option was
incompatible with previously set options.

This does not happen with ccmake., which enforces configuration after any
change.

It looks like as a bug to me.

Regards,

Alex
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake