[CMake] CPack, TGZ and directory layout

Tyler Roscoe tyler at cryptio.net
Fri Apr 2 16:16:05 EDT 2010


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)

tyler


More information about the CMake mailing list