[CMake] CPack: Different directory layout depending on generator
Johan Björk
phb at spotify.com
Mon Nov 29 17:44:22 EST 2010
Hi everyone,
This is basically a repeat question from what was asked in 2008 [1]. Is this
possible now?
To reiterate, I have a project to which I want to give my users an option to
either install as a .deb file, or as a .tgz.
in my tgz, I would like a layout such as
foo-1.2.3.tgz:
foo-1.2.3/README
foo-1.2.3/ChangeLog
foo-1.2.3/lib/libfoo.so
foo-1.2.3/doc/...
And in the deb, I want to install it like
foo-1.2.3.deb:
/usr/lib/libfoo.so
/usr/share/doc/foo/README
/usr/share/doc/foo/ChangeLog
[1]: http://www.cmake.org/pipermail/cmake/2008-September/024117.html
Thanks in advance
/Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101129/57449dd8/attachment.htm>
More information about the CMake
mailing list