# And the extra defines:\r
target_compile_definitions(${THETARGET}\r
PUBLIC\r
- NOMINMAX # This is needed because, for some absurd reason, one of the windows headers tries to define "min" and "max" as macros, which messes up most uses of std::numeric_limits.\r
_CRT_NONSTDC_NO_WARNINGS # Don't deprecate posix names of functions.\r
_CRT_SECURE_NO_WARNINGS # Don't deprecate the non _s versions of various standard library functions, because safety is for chumps.\r
_SCL_SECURE_NO_WARNINGS # Don't deprecate the non _s versions of various standard library functions, because safety is for chumps.\r