diff options
author | Jiri Malak <malak.jiri@gmail.com> | 2014-03-17 18:41:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-17 19:00:59 (GMT) |
commit | 5d9aa66c91909b8d7eab16edb020c9a14205ba69 (patch) | |
tree | 0a0b30b2db44f47943add15d36eb1ff9a2c5e803 /Source/cmExtraCodeBlocksGenerator.cxx | |
parent | 9292d3b8a016fb48f5b5b1518895b6d63e51bc2e (diff) | |
download | CMake-5d9aa66c91909b8d7eab16edb020c9a14205ba69.zip CMake-5d9aa66c91909b8d7eab16edb020c9a14205ba69.tar.gz CMake-5d9aa66c91909b8d7eab16edb020c9a14205ba69.tar.bz2 |
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.
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeBlocksGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index dba2406..e99bf04 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -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"; } |