On 05.10.2011 01:38, Peter Kümmel wrote:
> The next version (>  2.8.6) of CMake will support ninja,
> and I would like to use 'ninja' instead of 'make'
> with qtreator.
>
> The round trip is much faster with ninja.
> For instance, a dry run on clang takes 1.4s with
> cmake generated Makefiles and 0.16s with ninja.
>
> Ninja is like a cross-plattform make-command.
> What is the best way to add ninja support to qtcreator?
>
> The code in gcctoolchain.cpp looks like there is a
> one-to-one mapping between toolchain and make-command.
> Is it right to extend *::makeCommand()?
>

Or wouldn't it be better to factor out all the code for
make/mingw32-make/nmake/jom/... into new classes which
all have one common base class, e.g. class MainCommand?

Peter

> Then I will have a look at the cmake plugin.
>
> First it would be enough to have ninja support on Linux.
>
> Many thanks,
> Peter
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to