It is not order dependent.<br><br>If you have a solution/project that has Debug and Release configs only, then MSVC *always* chooses Debug by default the first time such a solution is opened... Changing the order does not change that behavior. I've tried...
<br><br>The &quot;ncb&quot; file is actually the cache of &quot;non-compiled browser&quot; information. The &quot;suo&quot; file (&quot;solution user options&quot;) in VS7 is the place where the last-user-chosen-configuration is stored. They've added some new &quot;.user&quot; files in VS8, but they also still have the suo file. It's not clear to me in VS6 or in VS8 where this information is stored.
<br><br>Anybody who works for the Visual Studio group at Microsoft on this list...??<br><br><br><div><span class="gmail_quote">On 12/13/06, <b class="gmail_sendername">gga</b> &lt;<a href="mailto:ggarra@advancedsl.com.ar">
ggarra@advancedsl.com.ar</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Bill Hoffman wrote:<br>&gt; Actually, it is not stored in the solution file.&nbsp;&nbsp;It is stored in the
<br>&gt; .ncb file. This is a binary file, that we do not know the format of.<br>Ah... I see, but...<br><br>If I am not mistaken, the MS IDE *has* to select some configuration as<br>the default when a project is loaded.&nbsp;&nbsp;I would imagine that it would
<br>make the default configuration the first configuration it finds (seems<br>the logical thing to do, anyways, but with Microsoft you never know), so<br>cmake could re-spit the appropriate files changing the order of the
<br>configurations.<br>If that's not the case, reverse engineering the file is probably not a<br>good solution as the format of that file can easily change.<br>The best solution is to check whether the user is running cmake on
<br>windows and whether the compiler IDE is installed.&nbsp;&nbsp;Most users wanting<br>that feature will probably be running cmake in the same development<br>machine where the IDE is.<br>If that results on a positive, it should be possible to run the MSVC IDE
<br>on batch and force it to load the project and then re-save it with the<br>correct setting, using either its COM interface or a simple script on<br>later IDE versions, I would think.<br>For X Code, I imagine something similar could be done but using either
<br>an Obj-C / Apple script little program.<br><br>--<br>Gonzalo Garramuņo<br><a href="mailto:ggarra@advancedsl.com.ar">ggarra@advancedsl.com.ar</a><br><br>AMD4400 - ASUS48N-E<br>GeForce7300GT<br>Kubuntu Edgy<br><br>_______________________________________________
<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>