<div class="gmail_quote">On Sun, Jun 14, 2009 at 8:31 AM, Macumber, Daniel <span dir="ltr">&lt;<a href="mailto:Daniel.Macumber@nrel.gov">Daniel.Macumber@nrel.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hello, I am looking for info on how to hide (make not visible) targets in Visual Studio.  I am working with generated code and am compiling several hundred individual SWIG dll&#39;s (I have a CMake macro that makes one SWIG target for each object in the generated code, all the generated code cannot be contained in a single SWIG target).  I would like to make one higher level target that depends on the hundreds of generated targets.  From the IDE I would like to just see this one higher level target with the hundreds of generated targets &quot;hidden&quot;.  I can&#39;t find any target properties that I would expect to do this (like &quot;VISIBLE&quot;), does any capability exist in CMake to create these targets but hide them (or group beneath a higher level target) in the IDE (specifically Visual Studio)?<br>


<br>
Thanks a lot,<br>
Dan<br>
</blockquote></div><br>I found this site that describes how to use Solution Folders to hide your projects.<br><a href="http://blogs.msdn.com/saraford/archive/2008/02/22/did-you-know-you-can-use-solution-folders-to-hide-projects-157.aspx">http://blogs.msdn.com/saraford/archive/2008/02/22/did-you-know-you-can-use-solution-folders-to-hide-projects-157.aspx</a><br>

<br>When I tried this, it looks as though you can specify the Solution Folder in the .sln file, but you don&#39;t specify which projects make it into the Solution Folder in the .sln file.  My guess is that they are in the binary suo file which CMake doesn&#39;t modify.<br>

<br>Unfortunately, when cmake configures and generates .sln files it will overwrite the existence of the Solution Folder.<br><br>James<br>