<div class="gmail_quote">On Fri, Mar 4, 2011 at 12:09 PM, John Drescher <span dir="ltr">&lt;<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Fri, Mar 4, 2011 at 11:50 AM,  &lt;<a href="mailto:aaron.meadows@thomsonreuters.com">aaron.meadows@thomsonreuters.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I was just trying out the Target folders stuff in 2.8.4.  The ALL_BUILD<br>
&gt; target doesn’t seem to be affected by the PREDEFINED_TARGETS_FOLDER<br>
&gt; property.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Is that by design or an oversight?<br>
&gt;<br>
</div>I see that here since I started using Solution Folders a few months<br>
back. Although this is a slight inconvenience I would like to see that<br>
moved to the CMakePredefindedTargets folder.<br>
<br>
John<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br>It is (forced by backwards compatibility requirements) by design.<br><br>Here is the source code where I wanted to assign it to the CMakePredefinedTargetsFolder:<br><br>#if 0<br>      // Can&#39;t activate this code because we want ALL_BUILD<br>
      // selected as the default &quot;startup project&quot; when first<br>      // opened in Visual Studio... And if it&#39;s nested in a<br>      // folder, then that doesn&#39;t happen.<br>      //<br>      // Organize in the &quot;predefined targets&quot; folder:<br>
      //<br>      if (this-&gt;UseFolderProperty())<br>        {<br>        allBuild-&gt;SetProperty(&quot;FOLDER&quot;, this-&gt;GetPredefinedTargetsFolder());<br>        }<br>#endif<br><br><br>Sorry,<br>David<br><br>