add_library(BigfootCompileAndLinkFlags INTERFACE) target_compile_options(BigfootCompileAndLinkFlags INTERFACE $<$:/W4 /WX> $<$:-Wall -Wextra -Wpedantic -Werror> $<$,$>:-fprofile-instr-generate -fcoverage-mapping -fprofile-continuous> ) target_link_options(BigfootCompileAndLinkFlags INTERFACE $<$,$>:-fprofile-instr-generate -fprofile-continuous> ) target_compile_definitions(BigfootCompileAndLinkFlags INTERFACE $<$:NOMINMAX> $<$:WIN32_LEAN_AND_MEAN> $<$:BIGFOOT_WINDOWS> $<$:BIGFOOT_LINUX> $<$:BIGFOOT_OPTIMIZED> $<$:BIGFOOT_NOT_OPTIMIZED> $,BIGFOOT_TOOLMODE,BIGFOOT_GAME> $<$:BIGFOOT_BUILD_TESTS> $<$:BIGFOOT_BUILD_BENCHMARKS>)