I have some warning messages I need to suppress from a generated source file from flex. Is there a way to add a compiler flag for just one source file in a target? The specific flag I'd like to add for gcc is Wno-unused-function
Which applies to static functions in the compilation unit. Juan
_______________________________________________ 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