Works well under Ubuntu 12.04 + Ninja 1.0.<br>Thanks a lot!<br><br><div class="gmail_quote">2012/9/20 Peter Kümmel <span dir="ltr"><<a href="mailto:syntheticpp@gmx.net" target="_blank">syntheticpp@gmx.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 19.09.2012 08:08, Wouter van Kleunen wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Peter,<br>
<br>
i had 2.8.9-pre3 before, i upgraded to 2.8.9. But only after deleting<br>
the CMakeLists user file from qtcreator, deleting the build directory<br>
and restarting qtcreator I was able to get the option to build with Ninja.<br>
<br>
Anyway, it seems to work fine now, and the building is much faster.<br>
</blockquote>
<br></div>
I've uploaded a new version:<br>
<br>
- Now out-of-source project files are supported (for cmake projects).<br>
There will be two new files in the build folder CMake.qtcreator and CMakeLists.txt.user<br>
CMake.qtcreator should be opened with creator.<br>
<br>
- out-of-source is default, could be changed by a check box in the wizard<br>
<br>
- shipped ninja.exe (>1.0.0) is found automatically<br>
<br>
- generators are updated when cmake is selected in the wizard<br>
<br>
- a cmake warning about QT_QMAKE_EXECUTABLE could be suppressed when the project doesn't use Qt<span class="HOEnZb"><font color="#888888"><br>
<br>
Peter</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Wouter<br>
<br>
<br>
Op 18-9-2012 22:50, Peter Kümmel schreef:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Wouter,<br>
<br>
you need the latest cmake version, 2.8.9.<br>
<br>
Under Tools/Options/Build&Run/CMake<br>
the ninja binary could be set, or have it PATH.<br>
<br>
Peter<br>
<br>
On 18.09.2012 22:29, Wouter van Kleunen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So how do you make it to use ninja ? Should I enable ninja somewhere ?<br>
Because when I run cmake from the gui it now still generates nmakefiles.<br>
<br>
Wouter<br>
<br>
Op 17-9-2012 18:08, Peter Kümmel schreef:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Qt Creator 2.6 is beta now.<br>
<br>
On github I've uploaded a patched version with Ninja support for CMake<br>
based projects:<br>
<br>
<a href="https://github.com/syntheticpp/qt-creator/downloads" target="_blank">https://github.com/<u></u>syntheticpp/qt-creator/<u></u>downloads</a><br>
<br>
When CDB is installed<br>
<br>
<a href="http://doc-snapshot.qt-project.org/qtcreator-2.5/creator-debugger-engines.html#supported-cdb-versions" target="_blank">http://doc-snapshot.qt-<u></u>project.org/qtcreator-2.5/<u></u>creator-debugger-engines.html#<u></u>supported-cdb-versions</a><br>
<br>
<br>
debugging works even with the 32bit/64bit compilers of Visual Studio<br>
Express 2012.<br>
<br>
<br>
Currently I'm trying to bring the patches upstream, but for 2.6 it<br>
seems too late.<br>
<br>
Peter<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at:<br>
<a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote>
<br>
<br>
</blockquote></blockquote>
<br>
<br>
</blockquote>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Best Regards</div>
<div>Yuchen</div><br>