[cmake-developers] [CMake 0013157]: Tarball generator should obey CPACK_PACKAGE_INSTALL_DIRECTORY as the root directory in the tarball

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 20 14:08:32 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13157 
====================================================================== 
Reported By:                Matt Darland
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13157
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-20 19:08 WAT
Last Modified:              2012-04-20 19:08 WAT
====================================================================== 
Summary:                    Tarball generator should obey
CPACK_PACKAGE_INSTALL_DIRECTORY as the root directory in the tarball
Description: 
Right now the tarball generator creates a tarball with its root as
CPACK_PACKAGE_FILENAME (cmPackArchiveGenerator.cxx:215). Creating a directory
structure that looks like :

CPACK_PACKAGE_FILENAME/
  bin/
  etc...

This prevents me from creating a tarball with a different name from the internal
directory structure of the tarball. For example: I may want to create a tarball
with the name "MyProduct-1.0" with an internal structure of:

MyProduct/
  bin/
  etc...

I believe the correct functionality should be to pay attention to the
CPACK_PACKAGE_INSTALL_DIRECTORY var instead.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-20 19:08 Matt Darland   New Issue                                    
======================================================================




More information about the cmake-developers mailing list