On 06/02/2010 04:24 AM, Clark Gaebel wrote:
> I have a massive .cpp file that has been autogenerated ahead of time.
> However, whenever I build it, according to gcc timing information, it
> spends all its time in "variable tracking". Therefore, I would like to
> enable the flag -fno-var-tracking for that file only (having variable
> debug information is useful!).

SET_SOURCE_FILES_PROPERTIES(<massive>.cpp
PROPERTIES COMPILE_FLAGS "-fno-var-tracking")

Regards,

Michael
_______________________________________________
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