[CMake] enviroment variables (ice cream builds)
Bill Hoffman
bill.hoffman at kitware.com
Thu Jun 20 10:47:53 EDT 2013
On 6/20/2013 9:49 AM, Miller Henry wrote:
> I understand. Is there a way I can have cmake tell make/ninja to set
> some environment before building? This would solve my problem, but I
> don't see a way to pull this off.
No, there is not. It has to be handled with your shell or . files.
CMake expects the environment to be setup for the compiler when it is
run, and the build tool expects the same environment that CMake was run
in. There is not a way to set environment variables across CMake time.
-Bill
More information about the CMake
mailing list