diff options
author | Jiri Malak <malak.jiri@gmail.com> | 2020-05-01 09:47:37 (GMT) |
---|---|---|
committer | Jiri Malak <malak.jiri@gmail.com> | 2020-05-01 10:01:14 (GMT) |
commit | 086c20e9a61ab55c66a305e392c4828ef4dae20c (patch) | |
tree | 882d254b34fbb51f6fa2aa4838f730783c81530f /Source/cmGlobalWatcomWMakeGenerator.h | |
parent | 79b5cf8576b257ed22b1a35fa651b56f4ba70681 (diff) | |
download | CMake-086c20e9a61ab55c66a305e392c4828ef4dae20c.zip CMake-086c20e9a61ab55c66a305e392c4828ef4dae20c.tar.gz CMake-086c20e9a61ab55c66a305e392c4828ef4dae20c.tar.bz2 |
OpenWatcom: Enable 16-bit targets
Up to now CMake used OpenWatcom 32-bit target tools only.
This fix enable to use OpenWatcom 16-bit target tools too.
If CMAKE_SYSTEM_PROCESSOR(cross-compilation) is 'I86' then
OpenWatcom tools for 16-bit targets are used.
Diffstat (limited to 'Source/cmGlobalWatcomWMakeGenerator.h')
-rw-r--r-- | Source/cmGlobalWatcomWMakeGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalWatcomWMakeGenerator.h b/Source/cmGlobalWatcomWMakeGenerator.h index c0daf8a..c47127f 100644 --- a/Source/cmGlobalWatcomWMakeGenerator.h +++ b/Source/cmGlobalWatcomWMakeGenerator.h @@ -41,6 +41,9 @@ public: /** Get the documentation entry for this generator. */ static void GetDocumentation(cmDocumentationEntry& entry); + /** Tell the generator about the target system. */ + bool SetSystemName(std::string const& s, cmMakefile* mf) override; + /** * Try to determine system information such as shared library * extension, pthreads, byte order etc. |