<div class="gmail_quote">On Sat, Jun 27, 2009 at 2:16 PM, Tyler Roscoe <span dir="ltr">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</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 Sat, Jun 27, 2009 at 01:41:58PM -0500, Robert Dailey wrote:<br>
&gt; There is a specific compiler flag that I&#39;m telling CMake to use for the MSVC<br>
&gt; compiler, however this flag is only supported by MSVC90 and higher. Right<br>
&gt; now I&#39;m doing this:<br>
&gt;<br>
</div><div class="im">&gt; I realize MSVC_VERSION doesn&#39;t exist<br>
<br>
</div>O RLY?<br>
<br>
<a href="http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:MSVC_VERSION" target="_blank">http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:MSVC_VERSION</a><br>
<br>
One of the Windows platform modules uses this if you want to see an<br>
example.</blockquote><div><br></div><div>Holy crap! I didn&#39;t know that existed :)</div><div><br></div><div>The problem is that there is no central location for this data. I was referencing the <a href="http://www.cmake.org/Wiki/CMake_Useful_Variables">useful variables</a> page on the CMake Wiki, and no mention of MSVC_VERSION existed.</div>
<div><br></div><div>Thanks for your help.</div></div>