MantisBT - CMake
View Issue Details
0012245CMakeCMakepublic2011-06-04 03:042012-01-02 15:56
d3x0r 
David Cole 
urgentmajoralways
closedfixed 
windows 7windows7
CMake 2.8.4 
CMake 2.8.6CMake 2.8.6 
0012245: Watcom WLIB Needs case sensitive option
WLIB does not generate proper exports if two routines have the same spelling and different cases (like Scale and scale).

wlib has a -c option which makes it respect case when building the export library from the dll.


SET(CMAKE_C_CREATE_IMPORT_LIBRARY
- "wlib -q -n -b <TARGET_IMPLIB> +'<TARGET_UNQUOTED>'")
SET(CMAKE_C_CREATE_IMPORT_LIBRARY
+ "wlib -c -q -n -b <TARGET_IMPLIB> +'<TARGET_UNQUOTED>'")

and

-SET(CMAKE_CXX_CREATE_STATIC_LIBRARY "wlib ${CMAKE_LIB_QUIET} -n -b '<TARGET_UNQUOTED>' <LINK_FLAGS> <OBJECTS> ")

+SET(CMAKE_CXX_CREATE_STATIC_LIBRARY "wlib ${CMAKE_LIB_QUIET} -c -n -b '<TARGET_UNQUOTED>' <LINK_FLAGS> <OBJECTS> ")


(ie - find 'wlib' in modules/platform/Windows-wcl386.cmake and insert a -c option; it occurs in two places.... working on checking out the source to attach a proper diff.
(should be apparent)
No tags attached.
Issue History
2011-06-04 03:04d3x0rNew Issue
2011-07-29 08:51David ColeAssigned To => David Cole
2011-07-29 08:51David ColeStatusnew => assigned
2011-07-29 11:38David ColeTarget Version => CMake 2.8.6
2011-07-29 11:38David ColeDescription Updatedbug_revision_view_page.php?rev_id=394#r394
2011-07-29 15:00David ColeNote Added: 0027121
2011-07-29 15:00David ColeStatusassigned => resolved
2011-07-29 15:00David ColeFixed in Version => CMake 2.8.6
2011-07-29 15:00David ColeResolutionopen => fixed
2012-01-02 15:56David ColeNote Added: 0028112
2012-01-02 15:56David ColeStatusresolved => closed

Notes
(0027121)
David Cole   
2011-07-29 15:00   
Fix pushed to CMake 'next' with this commit:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a0974ae2e69052e343764ddb93749739b7674977 [^]
(0028112)
David Cole   
2012-01-02 15:56   
Closing resolved issues that have not been updated in more than 4 months.