Re: [CMake] How to source a shell script from CMAKE

2006-02-10 Thread Brad King
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

Re: [CMake] How to source a shell script from CMAKE

2006-02-10 Thread David Cole
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

RE: [CMake] How to source a shell script from CMAKE

2006-02-10 Thread Linton, Tom
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

Re: [CMake] How to source a shell script from CMAKE

2006-02-09 Thread Filipe Sousa
-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

[CMake] How to source a shell script from CMAKE

2006-02-09 Thread Linton, Tom
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