[CMake] cmake -E cmake_symlink_executable

Filipe Sousa filipe at ipb.pt
Thu Aug 18 12:33:21 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Because cmake doesn't support LIBRARY_OUTPUT_PATH per directory I have
to create the plugin directory structure of my project and make a
symlink for each plugin. Until now I was using a custom command that
uses /bin/ln on unix and cmake -E copy_if_different on windows. I'm
trying to replace /bin/ln with cmake -E cmake_symlink_executable but
that doesn't work

If I do
cmake -E cmake_symlink_executable ../../lib/myplugin.so myplugin.so
cmake creates the link myplugin.so -> myplugin.so and not myplugin.so ->
../../lib/myplugin.so

This command is used to help create symbolic links for versioned
executables. What about a command that behaves like /bin/ln on unix.

cmake -E cmake_symlink?

- -- Filipe Sousa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDBLhRbQdNYqwwwCwRAp+aAKC0N71QwYB/Dv2Sy9d0LNC3R6RpZwCeOjLC
TCf+cxUAhIjNV/VdzWl8Sto=
=5h3D
-----END PGP SIGNATURE-----


More information about the CMake mailing list