That fixed it.&nbsp; Well done!&nbsp; The vcproj looks much cleaner now.<br>(-=<br><br><div><span class="gmail_quote">On 9/21/06, <b class="gmail_sendername">Brad King</b> &lt;<a href="mailto:brad.king@kitware.com">brad.king@kitware.com
</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;">Jacob Foshee wrote:<br>&gt; Howdy,<br>&gt; I'm helping out with the CMake build for OpenSceneGraph.&nbsp;&nbsp;OSG follows
<br>&gt; the standard practice of using extensionless headers for common<br>&gt; interfaces.&nbsp;&nbsp;We would like all headers to show up in the project files<br>&gt; (e.g. vcproj).&nbsp;&nbsp;For the SOURCE_GROUP command to work, the files must be
<br>&gt; listed in the ADD_EXECUTABLE or ADD_LIBRARY command (as far as I can tell).<br>&gt;<br>&gt; This leads to a problem.&nbsp;&nbsp;I think this is a bug.&nbsp;&nbsp;I think CMake doesn't<br>&gt; know how to handle the extensionless files, so attempts to add build
<br>&gt; rules to some of them (at least with VC8).&nbsp;&nbsp;Others, it does not.&nbsp;&nbsp;I<br>&gt; don't know why some get the rules and some don't (this inconsistency<br>&gt; seems to be a problem with cpp files as well).&nbsp;&nbsp;Here is an excerpt from
<br>&gt; a vcproj illustrating the problem:<br>&gt; ~~~<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;File<br>&gt;<br>&gt; RelativePath=&quot;C:\...\Producer\include\Producer\BlockingQueue&quot;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/File&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;File
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n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&nbsp;&nbsp; &lt;/FileConfiguration&gt;<br><br>
I think this bug has been fixed and will not be in 2.4.4.&nbsp;&nbsp;See here:<br><br><a href="http://www.cmake.org/pipermail/cmake/2006-September/011216.html">http://www.cmake.org/pipermail/cmake/2006-September/011216.html</a><br>
<br>Please try CVS CMake and let me know if it is fixed.<br><br>Thanks,<br>-Brad<br></blockquote></div><br>