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

ninja $name_of_target

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

ninja -t clean

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

-j, but the default -j value is the number of cores in your machine
plus one.

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

Yes.

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

Reply via email to