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

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jun 17 17:42:51 EDT 2009


On Tuesday 16 June 2009, Kai Fischer wrote:
> 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.

Please file a bug report for it.
Maybe instead of a symlink the file should just be copied ?

Alex


More information about the CMake mailing list