<div class="gmail_quote">On Fri, Mar 4, 2011 at 12:09 PM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></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, <<a href="mailto:aaron.meadows@thomsonreuters.com">aaron.meadows@thomsonreuters.com</a>> wrote:<br>
> Hi All,<br>
><br>
><br>
><br>
> I was just trying out the Target folders stuff in 2.8.4. The ALL_BUILD<br>
> target doesn’t seem to be affected by the PREDEFINED_TARGETS_FOLDER<br>
> property.<br>
><br>
><br>
><br>
> Is that by design or an oversight?<br>
><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't activate this code because we want ALL_BUILD<br>
// selected as the default "startup project" when first<br> // opened in Visual Studio... And if it's nested in a<br> // folder, then that doesn't happen.<br> //<br> // Organize in the "predefined targets" folder:<br>
//<br> if (this->UseFolderProperty())<br> {<br> allBuild->SetProperty("FOLDER", this->GetPredefinedTargetsFolder());<br> }<br>#endif<br><br><br>Sorry,<br>David<br><br>