[CMake] How not to copy a link

Kevin Burge kevin.burge at systemware.com
Fri Jan 6 13:51:56 EST 2012


Thanks David.  These are external libraries built outside of CMake, 
without CMake, not imported via any of the import capabilities of cmake, 
and that need to be installed alongside my CMake built files.  I think 
I'm just going to do the install with the rename.  Requires me to be 
more explicit, but, it's not like it changes all that frequently.

On 01/06/12 12:45, David Cole wrote:
> Have you considered setting the VERSION and SOVERSION target
> properties on your libraries instead of doing the symlinks yourself?
> CMake will build and install the symlinks automatically for you on
> platforms where they are supported if you set these target properties.
>
> http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:SOVERSION
> http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:VERSION
>
> (Or was that just an example, and you need to do this with other
> symlink files that are not simply the version symlinks for a
> library...?)
>
>
> HTH,
> David
>


More information about the CMake mailing list