MantisBT - CMake
View Issue Details
0010388CMakeCMakepublic2010-03-08 17:562010-09-09 23:58
d3x0r 
Bill Hoffman 
normalmajoralways
closedfixed 
CMake-2-8 
CMake 2.8.3CMake 2.8.3 
0010388: Open Watcom Support lacking...
1) open watcom did not support 'debug all' flag passed to the linker to actually generate debug information into final DLL and EXE products.
2) open watcom support under C_FLAGS_DEBUG_INIT did not have the -d2 option to generate debug information into OBJ files.
3) flags such as CMAKE_CREATE_WIN32_EXE and property LINK_FLAGS were not passed to the linker (add <LINNK_FLAGS>)

Attached patch which fixes debug information generation, also passes correct flags to linker for generating console or win32 apps.
No tags attached.
patch 0877-Update-Open-Watcom-Support.patch (8,033) 2010-03-08 17:56
https://public.kitware.com/Bug/file/2938/*
patch 0877-Update-watcom-support.patch (3,491) 2010-03-08 18:13
https://public.kitware.com/Bug/file/2939/0877-Update-watcom-support.patch
Issue History
2010-03-08 17:56d3x0rNew Issue
2010-03-08 17:56d3x0rFile Added: 0877-Update-Open-Watcom-Support.patch
2010-03-08 18:02d3x0rNote Added: 0019769
2010-03-08 18:13d3x0rFile Added: 0877-Update-watcom-support.patch
2010-03-08 18:13d3x0rNote Added: 0019770
2010-03-08 18:39d3x0rNote Added: 0019771
2010-08-31 17:09David ColeStatusnew => assigned
2010-08-31 17:09David ColeAssigned To => Bill Hoffman
2010-08-31 17:52David ColeTarget Version => CMake 2.8.3
2010-09-02 14:41Bill HoffmanNote Added: 0022076
2010-09-08 10:00Bill HoffmanStatusassigned => closed
2010-09-08 10:00Bill HoffmanResolutionopen => fixed
2010-09-09 23:58David ColeFixed in Version => CMake 2.8.3

Notes
(0019769)
d3x0r   
2010-03-08 18:02   
Do not use that patch... it mangles the line endings.
(0019770)
d3x0r   
2010-03-08 18:13   
Second patch "0877-Update-watcom-support.patch [^] (3,491 bytes) 2010-03-08 18:13" is the correct one.
(0019771)
d3x0r   
2010-03-08 18:39   
This seems to only work against 2.8.1-rc4 (when replaced on 2.8.0, the initial compiler checks fail).
(0022076)
Bill Hoffman   
2010-09-02 14:41   
I have pushed the fixes to next.