> cmake 2.6.3.
> There has been a number of modifications which have caused all headers in the 
> generated project files .vcproj to be excluded frm build
> (the red minus sign next to the file in Solution explorer)
>
> I have searched from inside VStudio the string HEADER_ONLY (ignoring case) in 
> all solution *cmake*.* files, nothing.
>
> 1 of the CMakeLists.txt looks like this
> ADD_CUSTOM_TARGET("..."
> SOURCES ..... ... .....
> )
>
> I don't believe there is a VStudio-wide option to exclude headers from builds.
>
> An example of a .vcproj looks like:
>               <Filter
>                       Name="Source Files"
>                       Filter="">
>                       <File
>                               RelativePath="....cpp">
>                       </File>
>               </Filter>
>               <Filter
>                       Name="Header Files"
>                       Filter="">
>                       <File
>                               RelativePath="....hpp">
>                               <FileConfiguration
>                                       Name="Debug|Win32" 
> ExcludedFromBuild="true">
>                                       <Tool
>                                       Name="VCCLCompilerTool"
>                                       />
>                               </FileConfiguration>
>                               <FileConfiguration
>                                       Name="MinSizeRel|Win32" 
> ExcludedFromBuild="true">
>                                       <Tool
>                                       Name="VCCLCompilerTool"
>                                       />
>                               </FileConfiguration>
>                               <FileConfiguration
>                                       Name="RelWithDebInfo|Win32" 
> ExcludedFromBuild="true">
>                                       <Tool
>                                       Name="VCCLCompilerTool"
>                                       />
>                               </FileConfiguration>
>                               <FileConfiguration
>                                       Name="Release|Win32" 
> ExcludedFromBuild="true">
>                                       <Tool
>                                       Name="VCCLCompilerTool"
>                                       />
>                               </FileConfiguration>
>                       </File>
>               </Filter>
>
>
> as you see, ExcludedFromBuild="true" is set to true for some reason.
> any clues,
> regards,
>
This is known and has been discussed several times this week. I
believe this was the result of a bug fix. I use vs2005 and it does not
cause me any problem that I notice. Does this cause you any problem?
Just wondering..


John
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to