Oops. I misread your reply (too fast)... Bill is right. To set an env var for your executables, you'll need to write code that does it yourself.
On 10/30/07, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > Mark Wyszomierski 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 - > > > > They will only be set during cmake time. Cmake runs, creates makefiles, > or projects, and then it is gone. There is no way for it to set > environment variables that last longer than the cmake run. > > -Bill >
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake