[CMake] Remove default compiler options?

Trevor Kellaway tkellaway at asl-vision.co.uk
Tue Sep 9 07:22:30 EDT 2008


Hi,

Using SET_SOURCE_FILES_PROPERTIES you can add compiler command line
flags with COMPILE_FLAGS, but is there any way to strip flags from
CMAKE_C_FLAGS per source file?

IOW, I need to remove a default flag from a specific file only.

-TrevK


More information about the CMake mailing list