Tested cmake/ninja with Blender's cmake files, works well, and fast! Single file rebuild is 0.97 sec, same on makefiles was 3.7sec.
btw, we do something similar to LLVM with generating source, only updating if it changes, however only for C files not headers, ninja handles this ok for my quick tests editing files and rebuilding. Looking forward to having this in stable cmake! On Fri, Sep 9, 2011 at 4:54 AM, Peter Collingbourne <[email protected]> wrote: > On Wed, Sep 07, 2011 at 11:04:42PM -0400, Jean-Christophe Fillion-Robin wrote: >> ---------- Forwarded message ---------- >> From: Peter Collingbourne <[email protected]> >> Date: Wed, Sep 7, 2011 at 9:17 PM >> Subject: Proposal: restat rules >> To: [email protected] > > FWIW, the Ninja generator I have been working on is based on work by > Nicolas Despres, and has been successfully used to compile a number > of large open source projects, including CMake itself, LLVM/Clang, > OpenCV and Bullet Physics. > > I am planning to submit the Ninja generator as a patch to CMake > upstream once it has been put through more exhaustive testing and > certain known issues have been resolved (my post to ninja-build being > one of them). > > Anyone who is interested in trying the Ninja generator with > their own projects is welcome to clone my repository at: > > https://github.com/pcc/CMake/tree/ninja-generator > > and to report any issues encountered. Note that the generator is > currently only known to work on Linux. To select the Ninja generator > you can pass the option "-G Ninja" on the cmake command line. > > Thanks, > -- > 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 > -- - Campbell _______________________________________________ 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
