<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">On Thu., 28 Jun. 2018, 8:45 pm Innokentiy Alaytsev, <<a href="mailto:alaitsev@gmail.com">alaitsev@gmail.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you setting CMAKE_<...> variables before creating you targets of after<br>
that?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I used the technique in that Stackoverflow link to print and override them before anything else happens in the project. They are still empty immediately before the add_executable() call. Certain options (eg. /Wx-) do not appear in any of those variables but still show up in the generated output.</div><div dir="auto"><br></div><div dir="auto">— Jason </div></div>