[CMake] Ninja: It's ninja issue, or CMake problem?

Peter Kümmel syntheticpp at gmx.net
Mon Sep 24 05:22:00 EDT 2012


On 24.09.2012 10:59, Loaden wrote:
> Hello everyone!
> I just know ninja, and like the small / fast. It's realy awesome.
> But I find some issue, I am just a newbie both of CMake and Ninja.
> So, If you interesting, have a look here.
>
> 1. 'ninja edit_cache' does not work if cmake-gui does not exist.
> 2. 'ninja test' does not work with CMake-project self.
> 3. It seems does not support PCH fully. e.g. change the PCH source (MSVC)
> or header (GCC), if using CMake Makefiles Generator, and will compilation
> every source files if it depends on PCH binary file. But using nanja, seems
> does not re-builds source files, just only updated the PCH binary.

ninja is more strict on dependencies, and as there is no "official" support
for pch (or I'm wrongß) it could be that your pch implementation forgets to
set a dependency.

> 4. There show nothing on shell if using Wine on Ubuntu 12.04. I just test
> it with CMake Najia generator, because I don't know how to write
> build.ninja by hand.
> 5. 'ninja VERBOSE=1' does not work.

ninja -v

>
> Thanks for reading! Any comments are welcome!!
>
>
>
> --
>
> 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
>


More information about the CMake mailing list