Nmake/make based C/C++ build - incorrect "compiler" value and appropriate environment variables

Use of compiler configuration value is undocumented.
It looks like it support “gcc” and “clang” values.
There should be add something like “cl” for microsoft compilers.
It is confusing because “compiler” value is used by example for cache name and it is very confusing if there is gcc in the name even if this compiler is not used any way.
All NMAKE Command and Options Macros environment variables are set to gcc or clang values.
They should not be defined for Windows OS.
It is CC, CFLAGS, CXX, CXXFLAGS etc.

Thanks for great work on Windows integration.

1 Like