Linton, Tom wrote:
But what I want to do is to source a file that sets up various
paths and environment variables in addition to the compiler
paths. Yes, I could manually do this
within CMakeLists.txt but I'd rather source the actual file that
is installed in the compiler distribution tree, to
on to be fully defined in the CMakeLists.txt file
itself.
Thanks
Tom
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Filipe Sousa
Sent: Thursday, February 09, 2006 4:32 PM
To: cmake@cmake.org
Subject: Re: [CMake] How to source a shell script from CMAKE
32 PM
To: cmake@cmake.org
Subject: Re: [CMake] How to source a shell script from CMAKE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Linton, Tom wrote:
> The Intel icc compiler has a standard shell script called "iccvars.sh"
> that is normally sourced to set up the environment for the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Linton, Tom wrote:
> The Intel icc compiler has a standard shell script called "iccvars.sh"
> that is normally sourced to set up the environment for the compiler. Is
> there a good way to ensure that this gets sourced from within CMAKE?
CC=icc CXX=icp
The Intel icc compiler has a standard shell script called "iccvars.sh"
that is normally sourced to set up the environment for the compiler. Is
there a good way to ensure that this gets sourced from within CMAKE?
One option is to write a driver script "iccdriver" that sources
iccvars.sh and then se