set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS ON) macro(mymacro) endmacro(notmymacro)