[CMake] cmake_symlink_library: error when cross-compiling with WinXP

Kai Fischer fischer at vrmagic.com
Tue Jun 16 04:55:25 EDT 2009


Hi,

I am cross-compiling a custom Linux ARM library with Windows XP using
the ARM toolchain from Code-Sourcery (no cygwin, mingw or anything like
that).

To accomplish that the "SONAME" of the library will be correctly set, I
set the VERSION property for it in CMakeLists.txt with:

SET_TARGET_PROPERTIES( target PROPERTIES VERSION <lib_ver>)

Cmake then generates a build file including a "cmake -E
cmake_symlink_library" command, which causes the build process to abort
with:

CMake Error: cmake_symlink_library: System Error: No such file or
directory
NMAKE : fatal error U1077: '"D:\Programme\CMake 2.6\bin\cmake.exe"' :
return code '0x1'
Stop.

This happens most probably because Windows filesystems do not support
symlinks.

Has anybody an idea, how I can circumvent this problem?

Many thanks in advance!

Best regards,
Kai


More information about the CMake mailing list