That fixed it. Well done! 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> <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com
</a>> 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>> Howdy,<br>> I'm helping out with the CMake build for OpenSceneGraph. OSG follows
<br>> the standard practice of using extensionless headers for common<br>> interfaces. We would like all headers to show up in the project files<br>> (e.g. vcproj). For the SOURCE_GROUP command to work, the files must be
<br>> listed in the ADD_EXECUTABLE or ADD_LIBRARY command (as far as I can tell).<br>><br>> This leads to a problem. I think this is a bug. I think CMake doesn't<br>> know how to handle the extensionless files, so attempts to add build
<br>> rules to some of them (at least with VC8). Others, it does not. I<br>> don't know why some get the rules and some don't (this inconsistency<br>> seems to be a problem with cpp files as well). Here is an excerpt from
<br>> a vcproj illustrating the problem:<br>> ~~~<br>> <File<br>><br>> RelativePath="C:\...\Producer\include\Producer\BlockingQueue"><br>> </File><br>> <File
<br>> RelativePath="C:\...\Producer\include\Producer\Camera"><br>> <FileConfiguration<br>> Name="Debug|Win32"><br>> <Tool
<br>> Name="VCCLCompilerTool"<br>> ObjectFile="$(IntDir)/__/__/."<br>> /><br>> </FileConfiguration><br><br>
I think this bug has been fixed and will not be in 2.4.4. 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>