Talk:CMakeMacroLibtoolFile

From KitwarePublic
Revision as of 05:54, 26 October 2010 by Kenny rus (talk | contribs) (Created page with "Hello, Guys. I've found some errors in this macro. ... FILE(WRITE ${_laname} "# ${_laname} - a libtool library file\n") FILE(WRITE ${_laname} "# Generated by CMake ${CMAKE_VERSI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Hello, Guys. I've found some errors in this macro.

... FILE(WRITE ${_laname} "# ${_laname} - a libtool library file\n") FILE(WRITE ${_laname} "# Generated by CMake ${CMAKE_VERSION} (like GNU libtool)\n") FILE(WRITE ${_laname} "\n# Please DO NOT delete this file!\n# It is necessary for linking the library with libtool.\n\n" ) ...

Each of 'WRITE' calls rewrite previous line and in .la file and libtool (v 2.4 - 2.6) says: "blah-blah-blah.la is not a valid libtool archive" cause libtool checks existance of '# Generated' comment. So, i hope somebody will fix this issue.

Best regards, K.