[CMake] Environment variables and ExternalProject

2011-10-17 Thread Milutin Jovanović
Hi all, Hi all. First time posting. Before I start I'd like to thank all the Kitware guys for a very nice and useful tool. I did a fair bit of searching to try to avoid asking duplicate questions, but did not find answer to my problem. I am trying to make a private build of some dependencies,

Re: [CMake] Environment variables and ExternalProject

2011-10-17 Thread Luigi Calori
On 17/10/2011 18.27, Milutin Jovanovic' wrote: Hi all, Hi all. First time posting. Before I start I'd like to thank all the Kitware guys for a very nice and useful tool. I did a fair bit of searching to try to avoid asking duplicate questions, but did not find answer to my problem. I am

Re: [CMake] Environment variables and ExternalProject

2011-10-17 Thread Milutin Jovanović
Thanks Luigi. I feared a workaround was necessary. I will go over your suggestion and try to apply it. I'll second your suggestion for providing environment variables for ExternalProjects. Miki. -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Environment variables and ExternalProject

2011-10-17 Thread David Cole
For now, a wrapper script is definitely the way to do this. We need the ability to specify environment values generically in the add_custom_command command. Once we have that, adding support to ExternalProject will be trivial. Until we have that, a wrapper script work-around is valid now and will