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:
Jiri Malak
2014-03-17 19:41:02 +01:00
committed by Brad King
parent 9292d3b8a0
commit 5d9aa66c91
5 changed files with 40 additions and 24 deletions
+1 -1
View File
@@ -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";
}