Re: [cmake-developers] I'm sure this is often asked

2011-07-29 Thread Eric Noulard
2011/7/29 David Cole : > On Fri, Jul 29, 2011 at 2:47 AM, Eric Noulard > wrote: >> >> 2011/7/29 J Decker : >> > Any reason that environment variables can't be used as cmake >> > variables?  Like of course any cmake variable in a script would >> > override the environment, but if it's not otherwise

Re: [cmake-developers] I'm sure this is often asked

2011-07-29 Thread David Cole
On Fri, Jul 29, 2011 at 2:47 AM, Eric Noulard wrote: > 2011/7/29 J Decker : > > Any reason that environment variables can't be used as cmake > > variables? Like of course any cmake variable in a script would > > override the environment, but if it's not otherwise found, checking in > > the enviro

Re: [cmake-developers] I'm sure this is often asked

2011-07-28 Thread Eric Noulard
2011/7/29 J Decker : > Any reason that environment variables can't be used as cmake > variables?  Like of course any cmake variable in a script would > override the environment, but if it's not otherwise found, checking in > the environemnt would make scripts prettier. > > > set BUILD_TYPE=debug >

[cmake-developers] I'm sure this is often asked

2011-07-28 Thread J Decker
Any reason that environment variables can't be used as cmake variables? Like of course any cmake variable in a script would override the environment, but if it's not otherwise found, checking in the environemnt would make scripts prettier. set BUILD_TYPE=debug set BUILD_MONOLITHIC=1 cmake /path/