Yes, that's exactly what I mean... :-)
On 10/30/07, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > > Hi David, > > I'm new to linux, do you mean that setting the env var like that > through CMake will only affect my executables during run time- in > other words the env var is only set for my exes? That's fine and what > I need - > > Mark > > On 10/30/07, David Cole <[EMAIL PROTECTED]> wrote: > > Yes... > > > > SET(ENV{BLAH} "blah value") > > > > ...but it only applies to the running process. The parent process > > environment remains unaffected by this type of SET. > > > > Then, to read env vars into cmake, use "$ENV{BLAH}" > > > > > > > > On 10/30/07, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > Is it possible to set an environment variable (linux) through CMake? > > > > > > Thanks, > > > Mark > > > _______________________________________________ > > > CMake mailing list > > > CMake@cmake.org > > > http://www.cmake.org/mailman/listinfo/cmake > > > > > > > >
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake