[CMake] set environment variable
Bill Hoffman
bill.hoffman at kitware.com
Tue Oct 30 11:02:40 EDT 2007
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
More information about the CMake
mailing list