Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Michael Wild
On 12/12/2011 09:05 PM, Robert Dailey wrote: > On Mon, Dec 12, 2011 at 1:53 PM, Michael Wild > wrote: > > > CMake script would imply that it runs as part of the configuration > > process. I can't build an installer until all binaries are > compiled and >

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
On Mon, Dec 12, 2011 at 1:53 PM, Michael Wild wrote: > > CMake script would imply that it runs as part of the configuration > > process. I can't build an installer until all binaries are compiled and > > linked, so it needs to be a target in visual studio. > > Wrong. > > add_custom_command( > CO

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Michael Wild
On 12/12/2011 08:46 PM, Robert Dailey wrote: > On Mon, Dec 12, 2011 at 1:31 PM, Michael Wild > wrote: > > On 12/12/2011 08:28 PM, Robert Dailey wrote: > > Hi, > > > > I'm creating a custom target in CMake 2.8.7 RC1 and running it in > Visual > > S

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
On Mon, Dec 12, 2011 at 1:31 PM, Michael Wild wrote: > On 12/12/2011 08:28 PM, Robert Dailey wrote: > > Hi, > > > > I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual > > Studio 2008. I set an environment variable called BUILDBIN in the custom > > command but for some reason

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Michael Wild
On 12/12/2011 08:28 PM, Robert Dailey wrote: > Hi, > > I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual > Studio 2008. I set an environment variable called BUILDBIN in the custom > command but for some reason my scripts that I invoke are not picking up > that environment va

[CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
Hi, I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual Studio 2008. I set an environment variable called BUILDBIN in the custom command but for some reason my scripts that I invoke are not picking up that environment variable. Am I doing something wrong? These custom commands