Line 2009 of CMake/Source/cmake.cxx chooses the default Visual Studio generator. Looks like that block of code forgot to update itself when Visual Studio 9 support was added.<div><br></div><div>We should, of course, prefer the most recent VS available as the default.<br>
<br></div><div>I will add some code to CVS CMake to do this, but I may not get to it for a few days.</div><div><br></div><div>HTH,</div><div>David</div><div><br></div><div><br></div><div><div class="gmail_quote">On Wed, Dec 10, 2008 at 1:17 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am going to guess that you need to get the source for CMake, make a change somewhere and then recompile. Just a guess.<br>

<br>
_________________________________________________________<br>
Mike Jackson &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><div><div></div><div class="Wj3C7c"><br>
<br>
On Dec 10, 2008, at 12:45 PM, David Genest wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Don&#39;t both CMake GUIs remember the last chosen generator in the event<br>
you<br>
are configuring a new build?<br>
</blockquote>
<br>
Yes, once configured the gui and cmake use the chosen generator. I was<br>
probably unclear. I would like to configure cmake so that the first call<br>
of cmake on the command line on a new project without a -G parameter<br>
uses the &quot;Visual Studio 9 2008&quot; by default.<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>