Re: [CMake] How not to copy a link

2012-01-12 Thread Michael Hertling
On 01/11/2012 04:52 PM, David Cole wrote: On Wed, Jan 11, 2012 at 10:10 AM, Michael Hertling mhertl...@online.de wrote: On 01/07/2012 03:52 PM, David Cole wrote: On Sat, Jan 7, 2012 at 9:47 AM, David Cole david.c...@kitware.com wrote: On Fri, Jan 6, 2012 at 10:54 PM, Michael Hertling

Re: [CMake] How not to copy a link

2012-01-11 Thread Michael Hertling
On 01/07/2012 03:52 PM, David Cole wrote: On Sat, Jan 7, 2012 at 9:47 AM, David Cole david.c...@kitware.com wrote: On Fri, Jan 6, 2012 at 10:54 PM, Michael Hertling mhertl...@online.de wrote: On 01/06/2012 07:51 PM, Kevin Burge wrote: Thanks David. These are external libraries built outside

Re: [CMake] How not to copy a link

2012-01-11 Thread David Cole
On Wed, Jan 11, 2012 at 10:10 AM, Michael Hertling mhertl...@online.de wrote: On 01/07/2012 03:52 PM, David Cole wrote: On Sat, Jan 7, 2012 at 9:47 AM, David Cole david.c...@kitware.com wrote: On Fri, Jan 6, 2012 at 10:54 PM, Michael Hertling mhertl...@online.de wrote: On 01/06/2012 07:51

Re: [CMake] How not to copy a link

2012-01-07 Thread David Cole
On Fri, Jan 6, 2012 at 10:54 PM, Michael Hertling mhertl...@online.de wrote: On 01/06/2012 07:51 PM, Kevin Burge wrote: 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

Re: [CMake] How not to copy a link

2012-01-07 Thread David Cole
On Sat, Jan 7, 2012 at 9:47 AM, David Cole david.c...@kitware.com wrote: On Fri, Jan 6, 2012 at 10:54 PM, Michael Hertling mhertl...@online.de wrote: On 01/06/2012 07:51 PM, Kevin Burge wrote: Thanks David.  These are external libraries built outside of CMake, without CMake, not imported via

[CMake] How not to copy a link

2012-01-06 Thread Kevin Burge
I'm trying to copy a file that is a link to another file, but I want the file to be copied, not the link itself. Historically, I've resorted to putting the real file as the source, and then using RENAME to rename the file, which puts more detail into my install commands than I'd like.

Re: [CMake] How not to copy a link

2012-01-06 Thread David Cole
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.

Re: [CMake] How not to copy a link

2012-01-06 Thread Kevin Burge
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

Re: [CMake] How not to copy a link

2012-01-06 Thread Michael Hertling
On 01/06/2012 07:51 PM, Kevin Burge wrote: 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