I need to set additional options for C compiler, e.g. add flag to turn all warnings ON, depending on the type of the compiler. E.g. for MSVC I should use
env.Append(CPPFLAGS = "/Wall")
but for mingw (gcc) I need to use:
env.Append(CCFLAGS = "-Wall")
How can I do this in scons way?