[CMake] CPack Directory entries in zip files
Jakub Zakrzewski
slither.jz at gmail.com
Wed Jan 18 13:41:24 EST 2012
Hi.
That's not that issue but may be related.
What I mean is the internal structure of zip file. I need to have
these directories explicite listed in the internal file list of zip
file. Now they are only implicity created. For example for file name
'my/file.txt' I should have an entry for 'my' and 'my/file.txt' but
now I only have 'my/file.txt'.
Anyway, tomorrow I will start looking into CPack code to get it
solved. It also may be related to libarchive. But I think this is a
topic for dev mailing list.
2012/1/17 Eric Noulard <eric.noulard at gmail.com>:
> 2012/1/17 Jakub Zakrzewski <slither.jz at gmail.com>:
>> Hi All!
>>
>> Recently we've moved all our packaging to CMake. For historical
>> reasons however, we need to have directory entries in our zip files.
>> CPack unfortunately generates archives with only file entries
>> included. Is possible to get desired behaviour by setting some
>> variables or changing some config files (or however)?
>
> Nope (unless you put some dummy file inside those dirs).
> There is an open bug report on subject:
> http://public.kitware.com/Bug/view.php?id=8767
>
> Add yourself to the monitor list and you'll get follow-up.
> You can even give a hand for patching or testing if you want.
>
> --
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
--
Pozdrowienia
Jakub Zakrzewski
More information about the CMake
mailing list