[CMake] enviroment variables (ice cream builds)
Miller Henry
MillerHenry at JohnDeere.com
Thu Jun 20 09:49:26 EDT 2013
-----Original Message-----
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of Bill Hoffman
Sent: Wednesday, June 19, 2013 12:38 PM
To: cmake at cmake.org
Subject: Re: [CMake] enviroment variables (ice cream builds)
On 6/19/2013 12:32 PM, Miller Henry wrote:
> Note that while we can possibly consider it a bug in my system setup
> that I need to set ICECC_CC and ICECC_CXX; but ICECC_VERSION is
> something the user needs to set. Thus I really want cmake to make
> sure this variable is set the same as the first run of cmake.
CMake can not set environment variables for use during build time. It
expects a working compiler environment. The cmake process is long gone by the time the native build tool is run.
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.
More information about the CMake
mailing list