[cmake-developers] Introduce 'Unix Ninja' generator

Brad King brad.king at kitware.com
Tue Jan 20 13:18:27 EST 2015


On 01/20/2015 01:04 PM, Daniel Levin wrote:
> Brad King wrote:
>> We expect that environment variables required by the toolchain
>> in use are already loaded.
> configure everything once, save into cache, build with single
> invocation of build tool

Use of a developer-provided environment was a very early and quite
fundamental design decision, and is unlikely to be changed.

I'd rather this discussion focus on how to get a sh-based ninja
working for your environment.  Unfortunately without access to
such an environment myself I do not understand it well enough to
suggest the best approach.

Can you provide sample ninja build files (perhaps hand written)
that demonstrate invocations of the compiler and other tools,
assuming it runs with the proper environment already defined?

-Brad



More information about the cmake-developers mailing list