[cmake-developers] Introduce 'Unix Ninja' generator

Ben Boeckel ben.boeckel at kitware.com
Tue Jan 20 12:00:58 EST 2015


On Tue, Jan 20, 2015 at 10:42:47 -0500, Daniel Levin wrote:
> This wrapper script cannot be common, because for each kind of build env
> variable set will be different. So it need to be created at CMake
> generation time saving current QNX* env variables into this wrapper script.
> So next time you can open clean shell and run 'make' or 'ninja' and it will
> properly use environment variables defined previously at generation stage.

What if Ninja itself gained support for 'env =' on rules for Ninja to
set environment variables for the rule and QNX-on-Windows set CMake
variables which filled this in appropriately?

--Ben


More information about the cmake-developers mailing list