<div dir="ltr">That continues to be broken for what we talked about in the newsgroup;<div><br></div><div>The wlib should be removed *???* <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 28, 2014 at 9:57 AM, Jiri Malak <span dir="ltr"><<a href="mailto:malak.jiri@gmail.com" target="_blank">malak.jiri@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
              <table cellpadding="1" cellspacing="5" align="left" border="0"><tbody><tr><td align="left"><pre>Hi,

I would like contribute to CMake for Open Watcom Toolchain.
Now only WIN32 host and target is supported.
I plan to add cross-compilation configuration for all supported hosts and target.
By example enable user on Linux cross compile for DOS/WIN16/win32/OS2
etc.

I enclosed first fix for existing bug in OW support.

>From 503538874023eeddac975eb09660d59f4067fcd9 Mon Sep 17 00:00:00 2001
From: Jiri Malak <<a href="http://192.168.0.2/posta/src/compose.php?send_to=malak.jiri%40gmail.com" target="_blank">malak.jiri@gmail.com</a>>
Date: Fri, 28 Feb 2014 18:21:52 +0100
Subject: [PATCH] Open Watcom Module Windows-wcl386.cmake fix

fix incorrect quoting of library name, now it is double quote instead of incorrect
single quote
---
 Modules/Platform/Windows-wcl386.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Modules/Platform/Windows-wcl386.cmake
b/Modules/Platform/Windows-wcl386.cmake
index 8a03b29..329e6f0 100644
--- a/Modules/Platform/Windows-wcl386.cmake
+++ b/Modules/Platform/Windows-wcl386.cmake
@@ -40,7 +40,7 @@ set (CMAKE_C_STANDARD_LIBRARIES_INIT "library clbrdll.lib library
plbrdll.lib  l
 set (CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")

 set(CMAKE_C_CREATE_IMPORT_LIBRARY
-  "wlib -c -q -n -b <TARGET_IMPLIB> +'<TARGET_UNQUOTED>'")
+  "wlib -c -q -n -b <TARGET_IMPLIB> +<TARGET_QUOTED>")
 set(CMAKE_CXX_CREATE_IMPORT_LIBRARY ${CMAKE_C_CREATE_IMPORT_LIBRARY})

 set(CMAKE_C_LINK_EXECUTABLE
@@ -78,7 +78,7 @@ set(CMAKE_C_CREATE_SHARED_LIBRARY ${CMAKE_CXX_CREATE_SHARED_LIBRARY})
 set(CMAKE_C_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_MODULE})

 # create a C++ static library
-set(CMAKE_CXX_CREATE_STATIC_LIBRARY  "wlib ${CMAKE_LIB_QUIET} -c -n -b
'<TARGET_UNQUOTED>'
<LINK_FLAGS> <OBJECTS> ")
+set(CMAKE_CXX_CREATE_STATIC_LIBRARY  "wlib ${CMAKE_LIB_QUIET} -c -n -b
<TARGET_QUOTED> <OBJECTS> ")

 # create a C static library
 set(CMAKE_C_CREATE_STATIC_LIBRARY ${CMAKE_CXX_CREATE_STATIC_LIBRARY})
-- 
1.8.0.msysgit.0

Regards

Jiri

</pre></td></tr></tbody></table></div><span class="HOEnZb"><font color="#888888">
</font></span><br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers</a><br></blockquote></div><br></div>