# Compiler options with hardening flags if(MSVC) list(APPEND compiler_options /W4 /permissive- $<$:/O2 /Ob2> $<$:/O1 /Ob1> $<$:/Zi /O2 /Ob1> $<$:/Zi /Ob0 /Od /RTC1>) else(MSVC) list(APPEND compiler_options -Wall -Wextra -Wpedantic $<$:-O2> $<$:-O0> $<$:-g> $<$:-p> $<$:-pg>) endif()