[CMake] Adding "*.obj" geometry files...

Bill Hoffman bill.hoffman at kitware.com
Tue Jun 12 13:40:31 EDT 2012


On 6/12/2012 1:10 PM, Daniel Dekkers wrote:
> Hi,
>
> We are adding some resource files (XML files, shaders, etc.) to a Visual
> Studio project just to make them visible and accessible in the IDE.
>
> We also add geometry files with the extension “obj”. Visual Studio
> treats these as regular object files and starts using them during the build.
>
> Is there a way that we can “label” these obj files so Visual Studio
> leaves them alone?
>
> Kind Regards,
>
> Daniel Dekkers
>
Mark them as HEADER_FILE_ONLY .


http://www.cmake.org/cmake/help/v2.8.8/cmake.html#prop_sf:HEADER_FILE_ONLY



More information about the CMake mailing list