[CMake] CPack Generator jar support

Alexander Broekhuis a.broekhuis at gmail.com
Wed Nov 9 17:30:13 EST 2011


Hi Eric,


>> By the way did you try the ZIP generator with
>>
>> set(CPACK_INSTALLED_DIRECTORIES "/path/to/META-INF;/META-INF")
>>
>> if some local (to the build) directory /path/to/META-INF contains
>> the appropriate MANIFEST.MF and INDEX.LIST your jar should be built ok
>> beside the fact it will have the zip extension.
>>
>
> Does this guarantee that the meta-inf is located at the beginnen of the
> zip file? Currently I use the CMake install functions to add files to a zip.
>

I tried this, but my zip file is still the same. The files are there, but
the MANIFEST isn't at the start of the file. Am I missing something how
this should be used?

-- 
Met vriendelijke groet,

Alexander Broekhuis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111109/34c0aa03/attachment.htm>


More information about the CMake mailing list