Skip to content

OpenWatcom: Add Multiple Platform Support

Jiri Malak requested to merge (removed):ow-mult-platforms into master

Add cross-compilation support for OpenWatcom.

It handles 16/32-bit DOS, 16/32-bit OS/2, 32-bit Windows and 32-bit Linux Targets.

  • DOS target is selected by define macro CMAKE_SYSTEM_NAME=DOS.
  • OS/2 target is selected by define macro CMAKE_SYSTEM_NAME=OS2.
  • Windows target is selected by define macro CMAKE_SYSTEM_NAME=Windows.
  • Linux target is selected by define macro CMAKE_SYSTEM_NAME=Linux.

By default 32-bit target are used. 16-bit target is selected by macro CMAKE_SYSTEM_PROCESSOR=I86

Edited by Jiri Malak

Merge request reports