James Kuszmaul | 4f3ad3c | 2019-12-01 16:35:21 -0800 | [diff] [blame^] | 1 | macro(wpilib_target_warnings target) |
2 | if(NOT MSVC) | ||||
3 | target_compile_options(${target} PRIVATE -Wall -pedantic -Wextra -Werror -Wno-unused-parameter -Wno-error=deprecated-declarations) | ||||
4 | else() | ||||
5 | target_compile_options(${target} PRIVATE /wd4244 /wd4267 /wd4146 /WX /wd4996) | ||||
6 | endif() | ||||
7 | endmacro() |