[cmake-developers] Introduce 'Unix Ninja' generator

Brad King brad.king at kitware.com
Tue Jan 20 12:51:38 EST 2015


On 01/20/2015 12:26 PM, Daniel Levin wrote:
> As far as I understand this 'env' is not a standard key in Ninja, right?
> That would be actually great to let CMake define environment variables in rules.
> Does CMake support that already?
> What about Makefile compatibility, is it possible to define env variables per rule in Makefiles?

There is no model for specifying environment variables as part of build
rules.  We expect that environment variables required by the toolchain
in use are already loaded.

-Brad



More information about the cmake-developers mailing list