Csound Csound-dev Csound-tekno Search About

[Cs-dev] Ninja build system

Date2012-11-01 12:18
FromSteven Yi
Subject[Cs-dev] Ninja build system
AttachmentsNone  None  
Hi All,

I just came across the Ninja build system:


It is being used to build chrome and is designed to do builds as quickly as possible, at the expense of not very easy to read build files.  The thing is that it is supported as a generator for CMake, so you can do "cmake ../csound6 -G Ninja" then run "ninja".  

I did a test build just now and it did feel quite fast.  Checking to do a rebuild was also very quick.  Note: Ninja also defaults to building with -j6.

I was pretty impressed with it and thought it worth mentioning.  

Thanks!
steven


Date2012-11-01 12:20
FromAdam Puckett
SubjectRe: [Cs-dev] Ninja build system
Impressive!

On 11/1/12, Steven Yi  wrote:
> Hi All,
>
> I just came across the Ninja build system:
>
> http://martine.github.com/ninja/
>
> It is being used to build chrome and is designed to do builds as quickly as
> possible, at the expense of not very easy to read build files.  The thing
> is that it is supported as a generator for CMake, so you can do "cmake
> ../csound6 -G Ninja" then run "ninja".
>
> I did a test build just now and it did feel quite fast.  Checking to do a
> rebuild was also very quick.  Note: Ninja also defaults to building with
> -j6.
>
> I was pretty impressed with it and thought it worth mentioning.
>
> Thanks!
> steven
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net