[CMake] CMake/Ninja support in Qt Creator

Wouter van Kleunen wouter.van at kleunen.nl
Wed Sep 19 02:08:34 EDT 2012


Peter,

i had 2.8.9-pre3 before, i upgraded to 2.8.9. But only after deleting 
the CMakeLists user file from qtcreator, deleting the build directory 
and restarting qtcreator I was able to get the option to build with Ninja.

Anyway, it seems to work fine now, and the building is much faster.


Wouter


Op 18-9-2012 22:50, Peter Kümmel schreef:
> Hi Wouter,
>
> you need the latest cmake version, 2.8.9.
>
> Under Tools/Options/Build&Run/CMake
> the ninja binary could be set, or have it PATH.
>
> Peter
>
> On 18.09.2012 22:29, Wouter van Kleunen wrote:
>>
>> So how do you make it to use ninja ? Should I enable ninja somewhere ?
>> Because when I run cmake from the gui it now still generates nmakefiles.
>>
>> Wouter
>>
>> Op 17-9-2012 18:08, Peter Kümmel schreef:
>>> Qt Creator 2.6 is beta now.
>>>
>>> On github I've uploaded a patched version with Ninja support for CMake
>>> based projects:
>>>
>>>      https://github.com/syntheticpp/qt-creator/downloads
>>>
>>> When CDB is installed
>>>
>>> http://doc-snapshot.qt-project.org/qtcreator-2.5/creator-debugger-engines.html#supported-cdb-versions 
>>>
>>>
>>> debugging works even with the 32bit/64bit compilers of Visual Studio
>>> Express 2012.
>>>
>>>
>>> Currently I'm trying to bring the patches upstream, but for 2.6 it
>>> seems too late.
>>>
>>> Peter
>>> -- 
>>>
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the CMake FAQ at:
>>> http://www.cmake.org/Wiki/CMake_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.cmake.org/mailman/listinfo/cmake
>>
>>



More information about the CMake mailing list