mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
Watcom: Introduce OpenWatcom compiler id and fix compiler version
Distinguish "Open Watcom" from old "Watcom" by introducing a new "OpenWatcom" compiler id. The __WATCOMC__ format is "VVRP" for Watcom and "VVRP + 1100" for Open Watcom.
This commit is contained in:
@@ -715,7 +715,7 @@ std::string cmExtraCodeBlocksGenerator::GetCBCompilerId(const cmMakefile* mf)
|
||||
{
|
||||
compiler = "icc";
|
||||
}
|
||||
else if (compilerId == "Watcom")
|
||||
else if (compilerId == "Watcom" || compilerId == "OpenWatcom")
|
||||
{
|
||||
compiler = "ow";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user