[CMake] CPack, TGZ and directory layout
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Apr 9 14:53:27 EDT 2010
On Friday 02 April 2010, Tyler Roscoe wrote:
> On Fri, Apr 02, 2010 at 09:50:59PM +0200, Allan W. Nielsen wrote:
> > The result of this the the following file:
> > TEST-0.1.1-Linux/bin/test
> >
> > What I would like to achieve is that the directory layout of the
> > generated tar file is:
> >
> > /bin/test
> >
> > or maby
> >
> > bin/test
>
> Look at:
>
> set (CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
Is this documented somewhere ?
If not, can you please put it in the wiki (e.g. in
http://www.cmake.org/Wiki/CMake:CPackConfiguration or
http://www.cmake.org/Wiki/CMake:CPackPackageGenerators )
Thanks
Alex
More information about the CMake
mailing list