[CMake] TGZ installer following links

Eric Noulard eric.noulard at gmail.com
Thu Jun 16 13:09:33 EDT 2011


2011/6/16 John R. Cary <cary at txcorp.com>:
> I am using the TGZ packager.

Which version of CMake/CPack ?
On which platform(s) ?
Do you use CPack alone or CMake+CPack?

> My dist looks something like
>
>        topdir
>
>  nextdir  link -> nextdir/lowerdir
>
>  lowerdir
>
> It seems that CPACK, instead of copying the link, follows the link
> so that I get two copies of lowerdir.
>
> Is this expected?

I guess not, symlinks should be packaged just fine on platform where
it is supported.

> Can I change this behavior?

Where does the symlinks comes from ?
In which CMake INSTALL commands are they found?

I use CMake generated symlinks (for versioned shared libs) all the time
and this works well with CPack TGZs?

May be you can provide us with a minimal example project exhibiting the issue
or at least send us your CPackConfig.cmake file.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list