[CMake] Changing the the current generator in CMake GUI

Bill Hoffman bill.hoffman at kitware.com
Sat Jul 12 08:17:54 EDT 2014


You can use clear cache.
On Jul 12, 2014 5:05 AM, "Edward Diener" <eldlistmailingz at tropicsoft.com>
wrote:

> On 7/11/2014 11:01 AM, Bill Hoffman wrote:
>
>> On 7/11/2014 10:33 AM, Edward Diener wrote:
>>
>>> Shouldn't there be a way to change the current generator in the CMake
>>> GUI ? It seems like I can only do this if I choose a new "Where to build
>>> the binaries" path. But what if I just want to change the current
>>> generator to something else using the current outpath path ?
>>>
>> No, once the generator is set and you have run cmake once, you need to
>> create a new build tree or wipe out the one you created the first time.
>>   CMake stores a bunch of information about the compiler in the cache
>> and other files in the build tree.  It does not know how to change all
>> that without a clean tree.
>>
>
> It does not seem like cleaning the build tree from within the CMake GUI
> should be a hard programming task, if the end-user wishes to change the
> current generator. Nonetheless thanks for the information.
>
>
> --
>
> 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://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140712/55db363b/attachment.html>


More information about the CMake mailing list