[CMake] Globally add compiler options for gcc

Stephen Collyer scollyer at netspinner.co.uk
Fri Jan 4 10:16:38 EST 2008


This is almost certainly a FAQ but I can't find
an answer anywhere: I'm building using gcc under
Linux and VS2005 under Win32. I want to add, say,
-Wall globally to everything compiled under Linux
but leave the compile options for Win32 untouched.

How do I do that ?

-- 
Regards

Steve Collyer
Netspinner Ltd


More information about the CMake mailing list