On Tue, Apr 03, 2012 at 20:02:38 +0200, Alexander Neundorf wrote:
> I'm thinking about giving ninja + Eclipse a try.
> Short question:
> * how do I tell ninja to build a specific target ?

ninja $target

> * is there a special way to "clean" ?

ninja -t clean

Also see ninja -t list for other special commands.

> * how do I tell ninja to use multiple threads/processes (like -j for make) ?

ninja -jX

(default seems to be N + 2; N == number of "cores" available)

> * is the syntax the same for Windows and Linux ?

I'm pretty sure it is.

--Ben
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to