<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 18, 2015 at 8:48 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":13g" class="a3s" style="overflow:hidden">On 05/17/2015 12:35 AM, Taylor Braun-Jones wrote:<br>
> CMake already has an ENVIRONMENT property for tests ...<br>
<span class="">> symmetric feature would be to support an ENVIRONMENT property<br>
> for targets as well.<br>
<br>
</span>We can provide it for tests because ctest directly runs the tests.<br>
There is no way to implement environment settings consistently<br>
across all generators when launching compiler tools.  The VS<br>
and Xcode IDE project files provide no way to do it in general.<br>
Our workflow for command-line builds has always been to have the<br>
necessary environment variables defined by the caller and not<br>
within the scope of CMake.<div class="yj6qo ajU"><div id=":15f" class="ajR" tabindex="0"></div></div></div></blockquote></div><br>Okay, I had a hunch this might be the case. Thanks for clarifying.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Taylor</div></div>