<div class="gmail_quote">On Mon, Feb 7, 2011 at 23:35, Jed Brown <span dir="ltr">&lt;<a href="mailto:jed@59a2.org">jed@59a2.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Feb 4, 2011 at 01:31, Michael Hertling <span dir="ltr">&lt;<a href="mailto:mhertling@online.de" target="_blank">mhertling@online.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>With a Makefile generator, you might use a RULE_LAUNCH_COMPILE property:<br>
<br>
SET_TARGET_PROPERTIES(&lt;target&gt; PROPERTIES RULE_LAUNCH_COMPILE &quot;win32fe&quot;)<br></div></blockquote><div><br></div></div><div>Thanks for these suggestions. I went with this one, but I&#39;ll try the other if someone complains (win32fe implies cygwin, I don&#39;t know if native Visual Studio builds make sense in that context).</div>
</blockquote></div><br><div>Hmm, although the Makefile &quot;would work&quot;, the compiler tests do not succeed because they don&#39;t use these properties. Where do I have to munge CMAKE_&lt;LANG&gt;_COMPILE_OBJECT to have that version used when testing whether a compiler works?</div>