[CMake] Fwd: CPack Generator jar support

Alexander Broekhuis a.broekhuis at gmail.com
Wed Nov 9 17:15:58 EST 2011


Now also sending the message to the list. I'm too used to a reply-to to a
list ;)

---------- Forwarded message ----------
From: Alexander Broekhuis <a.broekhuis at gmail.com>
Date: 2011/11/9
Subject: Re: [CMake] CPack Generator jar support
To: Eric Noulard <eric.noulard at gmail.com>



the real question is:
>   Is it of general interest to add such a generator to CPack?
>  (no offense to your need Alexander).
>

I totally agree with this question, so no offense taken. Any other solution
would be ok too.


>
> 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.



-- 
Met vriendelijke groet,

Alexander Broekhuis



-- 
Met vriendelijke groet,

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


More information about the CMake mailing list