Bill Hoffman wrote:
Paul Smedley wrote:
Hi All,
Whilst it still needs more testing and the diffs definitely need
tidying up, I've created an OS/2 port of cmake 2.8.0 - which is
available for download from my site at http://os2ports.smedley.info
The actual diffs + os2.cmake file can be downloaded from
http://smedley.info/cmake-2.8.0-os2-patches.zip
One question - OS/2 has a limitation for shared libraries that they
must have 8.3 filenames - can anyone think of a way to make this
happen automagically in cmake?
I was thinking of some kind of check for shared library name > 8
charaters long, then mangle a new name using some combination of the
first xxx characters of the requested name, and the last yyy
characters of the requested name to try and make sure the DLL name is
unique.
That might work.... Another possibility is to leave this up to the
project. CMake could just warn and say you need to set a OUTPUT name on
target N for this to work on OS/2. I would imagine that there would be
other changes for a project if you were porting to OS/2.
I wonder if you could use the same 8.3 mapping that windows uses? Is
there a library for that?
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake