On Mon, Dec 22, 2008 at 5:58 PM, Tyler Roscoe <span dir="ltr">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, Dec 22, 2008 at 05:55:10PM -0600, Robert Dailey wrote:<br>
&gt; I apologize, but I don&#39;t see how this could possibly work for visual studio<br>
&gt; output. It seems like you&#39;d have 1 set of visual studio projects for debug<br>
&gt; and one set for release. You don&#39;t know if the build type is debug or<br>
&gt; release in CMake because the configuration is &quot;dynamically chosen&quot;, which<br>
&gt; basically means the user chooses the configuration *after* the CMake targets<br>
&gt; have been generated.<br>
<br>
</div>Investigate CMAKE_CFG_INTDIR.</blockquote></div><br>I believe for Visual Studio output, this will be $(OutDir), right? If this is the case, this is a visual studio environment variable that will have no meaning when used in CMake scripts.<br>