## IgnoreWarnings.cmake ## ## Copyright (C) 2015-2022 Christian Schenk ## ## This file is free software; the copyright holder gives ## unlimited permission to copy and/or distribute it, with or ## without modifications, as long as this notice is preserved. function(prevent_all_warnings_on_bad_code_target target) target_compile_options(${target} PRIVATE $<$,$,$>:-w> $<$,$,$>:-w> $<$:/w> $<$:/w> ) endfunction() function(c4p_target_compile_options target) target_compile_options(${target} PRIVATE $<$,$,$>:-Wno-unused-label> $<$,$,$>:-Wno-unused-label> ) endfunction()