SCons has a ParseFlags()
function to turn a compiler command line into build variables. Does this work for MSVC, or does that even make sense?
The man page does say "Parses one or more strings containing typical command-line flags for GCC tool chains", while the user manual says "Historically, it was created to support the ParseConfig method, so it focuses on options used by the GNU Compiler Collection (GCC) for the C and C++ toolchains." It is for GCC.